install: add restart with busybox-initd
This commit is contained in:
parent
7701b57503
commit
6c8d4a44ea
|
@ -44,6 +44,8 @@ elif hash service 2>/dev/null; then
|
||||||
service dnsmasq restart
|
service dnsmasq restart
|
||||||
elif hash rc-service 2>/dev/null; then
|
elif hash rc-service 2>/dev/null; then
|
||||||
rc-service dnsmasq restart
|
rc-service dnsmasq restart
|
||||||
|
elif hash busybox 2>/dev/null && [[ -d "/etc/init.d" ]]; then
|
||||||
|
/etc/init.d/dnsmasq restart
|
||||||
else
|
else
|
||||||
echo "Now please restart dnsmasq since I don't know how to do it."
|
echo "Now please restart dnsmasq since I don't know how to do it."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue