pkgs/ap: catch failing service stop

This commit is contained in:
Astro 2021-11-10 16:38:49 +01:00
parent d9443fc374
commit f14c6ff200
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ in ''
for svc in dnsmasq uhttpd ; do
rm -f /etc/rc.d/*\$svc
/etc/init.d/\$svc stop
/etc/init.d/\$svc stop || true
done
${lib.optionalString hostConfig.firstboot "reboot"}