added check if dnsmasq is running
This commit is contained in:
parent
0bd3f61f61
commit
0282edc89d
|
@ -19,3 +19,7 @@ then
|
|||
/usr/sbin/service dnsmasq restart
|
||||
fi
|
||||
|
||||
ps -C "dnsmasq" 2>&1>/dev/null
|
||||
if [[ $? -ne 0 ]]
|
||||
/usr/sbin/service dnsmasq restart
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue