aboutsummaryrefslogtreecommitdiffstats
path: root/config/hooks/services.sh.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'config/hooks/services.sh.chroot')
-rwxr-xr-xconfig/hooks/services.sh.chroot9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/hooks/services.sh.chroot b/config/hooks/services.sh.chroot
new file mode 100755
index 0000000..4b96505
--- /dev/null
+++ b/config/hooks/services.sh.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo "Disabling network services (they get run by network scripts)"
+update-rc.d tor disable || true
+update-rc.d dnsmasq disable || true
+update-rc.d ttdnsd disable || true
+
+echo "Enable proxy"
+update-rc.d proxy enable defaults