start function
This commit is contained in:
parent
d5d74165c0
commit
efadadad13
|
@ -82,6 +82,7 @@ function stop {
|
|||
systemctl stop dnsmasq
|
||||
systemctl disable dnsmasq
|
||||
|
||||
# shellcheck disable=SC2153
|
||||
if [ "$EIFACE" ]; then
|
||||
brctl delif "$BRIDGE" bat0
|
||||
ifconfig "$BRIDGE" down || true
|
||||
|
@ -165,6 +166,7 @@ function add_wifi_interface {
|
|||
ifconfig "$ifname" up
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2120
|
||||
function start {
|
||||
update_wifi_adaptors
|
||||
|
||||
|
@ -351,6 +353,7 @@ function monitor {
|
|||
echo $'*** Restarting the network daemon. This may take a while. ***'
|
||||
echo ''
|
||||
|
||||
# shellcheck disable=SC2119
|
||||
start
|
||||
}
|
||||
|
||||
|
@ -375,6 +378,7 @@ case "$1" in
|
|||
echo ''
|
||||
echo $'*** Starting mesh network connection ***'
|
||||
echo ''
|
||||
# shellcheck disable=SC2119
|
||||
start
|
||||
;;
|
||||
ping)
|
||||
|
|
Loading…
Reference in New Issue