Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
508530e1
Commit
508530e1
authored
Dec 16, 2018
by
Roger Pueyo Centelles
Browse files
Merge branch 'master' into testing
parents
00f873e3
dcd0b810
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-system/files/usr/bin/wifihealth.sh
View file @
508530e1
...
...
@@ -35,8 +35,9 @@ if [ $lastdev ]; then
# Check that channel configurations in /etc/config/qmp and /etc/config/wireless match
if
[
"
$qmpchannelnum
"
==
"
$wifichannelnum
"
]
;
then
# If the channel configured in /etc/config/wireless and the one reported by iw differ, reset the wifi
if
[
$wifichannelnum
-ne
$iwchannel
]
;
then
# If iw does not report a channel, or if it reports a channel different to the one
# configured in /etc/config/wireless, reset the wifi
if
[
!
$iwchannel
]
||
[
$wifichannelnum
-ne
$iwchannel
]
;
then
wifi
exit
0
fi
...
...
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