aboutsummaryrefslogtreecommitdiffstats
path: root/config/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/hooks')
-rwxr-xr-xconfig/hooks/disable-services.sh.chroot8
1 files changed, 3 insertions, 5 deletions
diff --git a/config/hooks/disable-services.sh.chroot b/config/hooks/disable-services.sh.chroot
index c9cee1e..63d0fa7 100755
--- a/config/hooks/disable-services.sh.chroot
+++ b/config/hooks/disable-services.sh.chroot
@@ -1,9 +1,7 @@
#!/bin/sh
-set -e
-
echo "Disabling network services (they get run by network scripts)"
-update-rc.d tor disable
-update-rc.d dnsmasq disable
-update-rc.d ttdnsd disable
+update-rc.d tor disable || true
+update-rc.d dnsmasq disable || true
+update-rc.d ttdnsd disable || true