aboutsummaryrefslogtreecommitdiffstats
path: root/config/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/hooks')
-rwxr-xr-xconfig/hooks/disable-services.sh.chroot9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/hooks/disable-services.sh.chroot b/config/hooks/disable-services.sh.chroot
new file mode 100755
index 0000000..c9cee1e
--- /dev/null
+++ b/config/hooks/disable-services.sh.chroot
@@ -0,0 +1,9 @@
+#!/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
+