meshweb stop command
This commit is contained in:
parent
8dd34fb43c
commit
fcd28f5050
|
@ -295,6 +295,11 @@ function install_zeronet {
|
||||||
sed -i 's|fileserver_port = 0|fileserver_port = config.fileserver_port\n sys.modules["main"].file_server.port_opened = True|g' $ZERONET_DIR/src/Site/Site.py
|
sed -i 's|fileserver_port = 0|fileserver_port = config.fileserver_port\n sys.modules["main"].file_server.port_opened = True|g' $ZERONET_DIR/src/Site/Site.py
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ "$1" == "stop" ]]; then
|
||||||
|
sudo batman stop
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f /var/lib/batman ]; then
|
if [ -f /var/lib/batman ]; then
|
||||||
SERVER_INSTALLATION="yes"
|
SERVER_INSTALLATION="yes"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue