Developing lightweight computation at the DSG edge

Commit 508530e1 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Merge branch 'master' into testing

parents 00f873e3 dcd0b810
......@@ -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
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment