Merge pull request #469 from ecsv/batadv-for-18.06
[feed/routing.git] / nodogsplash / files / usr / lib / nodogsplash / restart.sh
1 #!/bin/sh
2
3 # Check if nodogsplash is running
4 if ndsctl status &> /dev/null; then
5 if [ "$(uci -q get nodogsplash.@nodogsplash[0].fwhook_enabled)" = "1" ]; then
6 /etc/init.d/nodogsplash restart
7 fi
8 fi