forked from zentralwerk/network
pkgs/ap: catch failing service stop
This commit is contained in:
parent
d9443fc374
commit
f14c6ff200
|
@ -308,7 +308,7 @@ in ''
|
||||||
|
|
||||||
for svc in dnsmasq uhttpd ; do
|
for svc in dnsmasq uhttpd ; do
|
||||||
rm -f /etc/rc.d/*\$svc
|
rm -f /etc/rc.d/*\$svc
|
||||||
/etc/init.d/\$svc stop
|
/etc/init.d/\$svc stop || true
|
||||||
done
|
done
|
||||||
|
|
||||||
${lib.optionalString hostConfig.firstboot "reboot"}
|
${lib.optionalString hostConfig.firstboot "reboot"}
|
||||||
|
|
Loading…
Reference in New Issue