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
a1a0dd80
Commit
a1a0dd80
authored
6 years ago
by
rubo77
Browse files
Options
Downloads
Patches
Plain Diff
rework of GluonShellDiet and fix translation functionality
parent
222b96a3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
gluon-ssid-changer/Makefile
+8
-25
8 additions, 25 deletions
gluon-ssid-changer/Makefile
gluon-ssid-changer/gluonShellDiet.sh
+1
-1
1 addition, 1 deletion
gluon-ssid-changer/gluonShellDiet.sh
gluon-ssid-changer/shsrc/ssid-changer.sh
+0
-0
0 additions, 0 deletions
gluon-ssid-changer/shsrc/ssid-changer.sh
with
9 additions
and
26 deletions
gluon-ssid-changer/Makefile
+
8
−
25
View file @
a1a0dd80
include
$(TOPDIR)/rules.mk
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
gluon-ssid-changer
PKG_NAME
:=
gluon-ssid-changer
PKG_VERSION
:=
4
PKG_VERSION
:=
5
PKG_BUILD_DIR
:=
$(
BUILD_DIR
)
/
$(
PKG_NAME
)
include
$(TOPDIR)/../package/gluon.mk
include
$(TOPDIR)/../package/gluon.mk
PKG_CONFIG_DEPENDS
+=
$(
GLUON_I18N_CONFIG
)
define
Package/$(PKG_NAME)
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
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
...
@@ -26,28 +19,18 @@ define Package/$(PKG_NAME)/description
...
@@ -26,28 +19,18 @@ define Package/$(PKG_NAME)/description
timeframe.
timeframe.
endef
endef
define
Build/Prepare
mkdir
-p
$(PKG_BUILD_DIR)
endef
define
Build/Configure
endef
define
Build/Compile
define
Build/Compile
$(
call
GluonBuild
I18N,
$(
PKG_NAME
)
,i18n
)
$(
call
Gluon
/
Build
/Compile
)
$(
call
GluonSrcDiet,./luasrc,
$(
PKG_BUILD_DIR
)
/
luadest/
)
./gluonShellDiet.sh
shsrc/ssid-changer.sh
>
$(PKG_BUILD_DIR)/
ssid-changer.sh
endef
endef
define
Package/$(PKG_NAME)/install
define
Package/$(PKG_NAME)/install
$(CP)
./files/*
$(1)/
$(Gluon/Build/Install)
$(CP)
$(PKG_BUILD_DIR)/luadest/*
$(1)/
./gluonShellDiet.sh
$(1)/lib/gluon/ssid-changer/ssid-changer.sh
$(
call
GluonInstallI18N,
$(
PKG_NAME
)
,
$(
1
))
endef
define
Package/$(PKG_NAME)/postinst
$(INSTALL_DIR)
$(1)/lib/gluon/ssid-changer
#!/bin/sh
$(INSTALL_BIN)
$(PKG_BUILD_DIR)/ssid-changer.sh
$(1)/lib/gluon/ssid-changer/
$(
call
GluonCheckSite,check_site.lua
)
endef
endef
$(
eval
$(
call BuildPackage,
$(
PKG_NAME
)))
$(
eval
$(
call BuildPackageGluon,
$(
PKG_NAME
)))
This diff is collapsed.
Click to expand it.
gluon-ssid-changer/gluonShellDiet.sh
+
1
−
1
View file @
a1a0dd80
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
# This script requires a file as argument in which it will remove all comment lines that start with a hash '#'
# This script requires a file as argument in which it will remove all comment lines that start with a hash '#'
sed
-i
'/^\s*\#[^!].*/d; /^\s*\#$/d'
$1
sed
'/^\s*\#[^!].*/d; /^\s*\#$/d'
$1
This diff is collapsed.
Click to expand it.
gluon-ssid-changer/
files/lib/gluon/ssid-changer
/ssid-changer.sh
→
gluon-ssid-changer/
shsrc
/ssid-changer.sh
+
0
−
0
View file @
a1a0dd80
File moved
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