diff --git a/files/usr/local/bin/check_gateway b/files/usr/local/bin/check_gateway index 589814b..b4b7e72 100644 --- a/files/usr/local/bin/check_gateway +++ b/files/usr/local/bin/check_gateway @@ -24,14 +24,11 @@ OLD_STATE="$(cat $MESH/gw_mode)" if [ "$NEW_STATE" == "off" ]; then # Shutdown DHCP server to prevent renewal of leases service isc-dhcp-server stop - # Shutdown radvd daemon to prevent advertisment of server as gateway - service radvd stop fi # Check whether gateway modus has been activated if [ "$NEW_STATE" == "server" ]; then # Restart DHCP server and radvd daemon service isc-dhcp-server start - service radvd start fi done