aboutsummaryrefslogtreecommitdiffstats
path: root/config/hooks/disable-services.sh.chroot
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-11-23 00:08:03 +0100
committerficus <ficus@robocracy.org>2012-11-23 00:08:03 +0100
commit7835d6f395b9bfd0a1ded570f7b8b9077672e604 (patch)
treefeb200e3afecdb912b17419874f2f5d858bd919d /config/hooks/disable-services.sh.chroot
parent916518ae90db70405639480fde9c66300b2fce54 (diff)
downloadtorouter-live-7835d6f395b9bfd0a1ded570f7b8b9077672e604.tar.gz
torouter-live-7835d6f395b9bfd0a1ded570f7b8b9077672e604.zip
disable some services at build time
Diffstat (limited to 'config/hooks/disable-services.sh.chroot')
-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