Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
firmware
Gluon SSID Changer
Commits
5a7f70fd
Commit
5a7f70fd
authored
Jul 04, 2017
by
rubo77
Browse files
debug count removed
parent
d307ba97
Changes
1
Hide whitespace changes
Inline
Side-by-side
gluon-ssid-changer/files/lib/gluon/ssid-changer/ssid-changer.sh
View file @
5a7f70fd
...
...
@@ -64,7 +64,6 @@ ONLINE_SSID="$(uci -q get wireless.client_radio0.ssid)"
TMP
=
/tmp/ssid-changer-count
if
[
!
-f
$TMP
]
;
then
echo
"0"
>
$TMP
;
fi
OFF_COUNT
=
$(
cat
$TMP
)
echo
"
$((
$OFF_COUNT
+
1
))
"
>
$TMP
TQ_LIMIT_ENABLED
=
"
$(
uci
-q
get ssid-changer.settings.tq_limit_enabled
)
"
# if true, the offline ssid will only be set if there is no gateway reacheable
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment