Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gluon SSID Changer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
Gluon SSID Changer
Commits
6a85ff09
Commit
6a85ff09
authored
8 years ago
by
rubo77
Browse files
Options
Downloads
Patches
Plain Diff
update Makefile
parent
a13166de
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+13
-5
13 additions, 5 deletions
Makefile
with
13 additions
and
5 deletions
Makefile
+
13
−
5
View file @
6a85ff09
include
$(TOPDIR)/rules.mk
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
gluon-ssid-changer
PKG_NAME
:=
gluon-ssid-changer
PKG_VERSION
:=
1
PKG_VERSION
:=
2
PKG_RELEASE
:=
$(
GLUON_BRANCH
)
PKG_BUILD_DIR
:=
$(
BUILD_DIR
)
/
$(
PKG_NAME
)
PKG_BUILD_DIR
:=
$(
BUILD_DIR
)
/
$(
PKG_NAME
)
...
@@ -10,10 +11,18 @@ include $(INCLUDE_DIR)/package.mk
...
@@ -10,10 +11,18 @@ include $(INCLUDE_DIR)/package.mk
define
Package/gluon-ssid-changer
define
Package/gluon-ssid-changer
SECTION
:=
gluon
SECTION
:=
gluon
CATEGORY
:=
Gluon
CATEGORY
:=
Gluon
TITLE
:=
SSID Changer
TITLE
:=
changes the SSID to an Offline-SSID so clients don
't connect to an offline WiFi
DEPENDS
:=
+gluon-core +micrond
DEPENDS
:=
+gluon-core +micrond
endef
endef
define
Package/gluon-ssid-changer/description
Script
to
change
the
SSID
to
an
Offline-SSID
when
there
is
no
connection
to
any
gateway.
This
SSID
is
generated
from
the
nodes
hostname
with
the
first
and
last
part
of
the
nodename
to
allow
observers
to
recognise
which
node
is
down.
The
script
is
called
once
a
minute
by
micron.d
and
it
will
change
from
online
to
offline-SSID
maximum
once
a
day
endef
define
Build/Prepare
define
Build/Prepare
mkdir
-p
$(PKG_BUILD_DIR)
mkdir
-p
$(PKG_BUILD_DIR)
endef
endef
...
@@ -29,4 +38,3 @@ define Package/gluon-ssid-changer/install
...
@@ -29,4 +38,3 @@ define Package/gluon-ssid-changer/install
endef
endef
$(
eval
$(
call BuildPackage,gluon-ssid-changer
))
$(
eval
$(
call BuildPackage,gluon-ssid-changer
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment