|
@@ -82,6 +82,7 @@ function stop {
|
82
|
82
|
systemctl stop dnsmasq
|
83
|
83
|
systemctl disable dnsmasq
|
84
|
84
|
|
|
85
|
+ # shellcheck disable=SC2153
|
85
|
86
|
if [ "$EIFACE" ]; then
|
86
|
87
|
brctl delif "$BRIDGE" bat0
|
87
|
88
|
ifconfig "$BRIDGE" down || true
|
|
@@ -165,6 +166,7 @@ function add_wifi_interface {
|
165
|
166
|
ifconfig "$ifname" up
|
166
|
167
|
}
|
167
|
168
|
|
|
169
|
+# shellcheck disable=SC2120
|
168
|
170
|
function start {
|
169
|
171
|
update_wifi_adaptors
|
170
|
172
|
|
|
@@ -351,6 +353,7 @@ function monitor {
|
351
|
353
|
echo $'*** Restarting the network daemon. This may take a while. ***'
|
352
|
354
|
echo ''
|
353
|
355
|
|
|
356
|
+ # shellcheck disable=SC2119
|
354
|
357
|
start
|
355
|
358
|
}
|
356
|
359
|
|
|
@@ -375,6 +378,7 @@ case "$1" in
|
375
|
378
|
echo ''
|
376
|
379
|
echo $'*** Starting mesh network connection ***'
|
377
|
380
|
echo ''
|
|
381
|
+ # shellcheck disable=SC2119
|
378
|
382
|
start
|
379
|
383
|
;;
|
380
|
384
|
ping)
|