start function

This commit is contained in:
Bob Mottram 2018-03-02 22:54:51 +00:00
parent d5d74165c0
commit efadadad13
1 changed files with 4 additions and 0 deletions

View File

@ -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)