projects
/
feed
/
routing.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e67f11d127b6c80852590f6e78d61b0135b92061
[feed/routing.git]
/
nodogsplash2
/
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