diff options
author | ficus <ficus@robocracy.org> | 2012-11-22 22:32:35 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-22 22:32:35 +0100 |
commit | f6b63e836919b95a32f99cefd8e06fdf0b4488dd (patch) | |
tree | f5c407fe1312a865454e76b56f5cb3f2d2df6a31 /config/hooks | |
parent | 132f33fdcd42fd9b192a58d4737792fac3d1ddf5 (diff) | |
download | torouter-live-f6b63e836919b95a32f99cefd8e06fdf0b4488dd.tar.gz torouter-live-f6b63e836919b95a32f99cefd8e06fdf0b4488dd.zip |
tor enabled in defaults, disabled in rc*.d
Diffstat (limited to 'config/hooks')
-rwxr-xr-x | config/hooks/disable-services.sh.chroot | 9 |
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 + |