From f6b63e836919b95a32f99cefd8e06fdf0b4488dd Mon Sep 17 00:00:00 2001 From: ficus Date: Thu, 22 Nov 2012 22:32:35 +0100 Subject: tor enabled in defaults, disabled in rc*.d --- config/hooks/disable-services.sh.chroot | 9 +++++++++ config/includes.chroot/etc/default/tor | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 config/hooks/disable-services.sh.chroot (limited to 'config') 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 + diff --git a/config/includes.chroot/etc/default/tor b/config/includes.chroot/etc/default/tor index 44ddf15..68c0634 100644 --- a/config/includes.chroot/etc/default/tor +++ b/config/includes.chroot/etc/default/tor @@ -5,7 +5,7 @@ # # This is a bash shell fragment # -RUN_DAEMON="no" +RUN_DAEMON="yes" # # Servers sometimes may need more than the default 1024 file descriptors -- cgit v1.2.3