From f14c6ff200af044333aad06630bc7a2a46e94a10 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 10 Nov 2021 16:38:49 +0100 Subject: [PATCH] pkgs/ap: catch failing service stop --- nix/pkgs/ap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/pkgs/ap.nix b/nix/pkgs/ap.nix index 14b37ce..85a2dcf 100644 --- a/nix/pkgs/ap.nix +++ b/nix/pkgs/ap.nix @@ -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"}