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
c6dc54f7
Commit
c6dc54f7
authored
7 years ago
by
Ruben Barkow
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
use $(PKG_NAME) for gluon-ssid-changer
parent
b0535e2a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gluon-ssid-changer/Makefile
+7
-7
7 additions, 7 deletions
gluon-ssid-changer/Makefile
with
7 additions
and
7 deletions
gluon-ssid-changer/Makefile
+
7
−
7
View file @
c6dc54f7
...
...
@@ -10,14 +10,14 @@ include $(TOPDIR)/../package/gluon.mk
PKG_CONFIG_DEPENDS
+=
$(
GLUON_I18N_CONFIG
)
define
Package/
gluon-ssid-changer
define
Package/
$(PKG_NAME)
SECTION
:=
gluon
CATEGORY
:=
Gluon
TITLE
:=
changes the SSID to an Offline-SSID so clients don
't connect to an offline WiFi
DEPENDS
:=
+gluon-core +micrond
endef
define
Package/
gluon-ssid-changer
/description
define
Package/
$(PKG_NAME)
/description
Script
to
change
the
SSID
to
an
Offline-SSID
when
there
is
no
connection
to
any
gateway.
This
SSID
can
be
generated
from
the
nodes
hostname
with
the
first
and
last
part
of
the
nodename
or
the
mac
address,
to
allow
observers
to
...
...
@@ -34,20 +34,20 @@ define Build/Configure
endef
define
Build/Compile
$(
call
GluonBuildI18N,
gluon-ssid-changer
,i18n
)
$(
call
GluonBuildI18N,
$(
PKG_NAME
)
,i18n
)
$(
call
GluonSrcDiet,./luasrc,
$(
PKG_BUILD_DIR
)
/luadest/
)
endef
define
Package/
gluon-ssid-changer
/install
define
Package/
$(PKG_NAME)
/install
$(CP)
./files/*
$(1)/
$(CP)
$(PKG_BUILD_DIR)/luadest/*
$(1)/
./gluonShellDiet.sh
$(1)/lib/gluon/ssid-changer/ssid-changer.sh
$(
call
GluonInstallI18N,
gluon-ssid-changer
,
$(
1
))
$(
call
GluonInstallI18N,
$(
PKG_NAME
)
,
$(
1
))
endef
define
Package/
gluon-ssid-changer
/postinst
define
Package/
$(PKG_NAME)
/postinst
#!/bin/sh
$(
call
GluonCheckSite,check_site.lua
)
endef
$(
eval
$(
call BuildPackage,
gluon-ssid-changer
))
$(
eval
$(
call BuildPackage,
$(
PKG_NAME
)
))
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