8 lines
205 B
Bash
Executable file
8 lines
205 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Check if nodogsplash is running
|
|
if ndsctl status &> /dev/null; then
|
|
if [ "$(uci -q get nodogsplash.@nodogsplash[0].fwhook_enabled)" = "1" ]; then
|
|
/etc/init.d/nodogsplash restart
|
|
fi
|
|
fi
|