From f6df416e105556ca98f996dd573dea08b4c622b0 Mon Sep 17 00:00:00 2001 From: ficus Date: Fri, 23 Nov 2012 20:14:13 +0100 Subject: enable proxy (NAT configurations) --- config/hooks/disable-services.sh.chroot | 7 ------- config/hooks/services.sh.chroot | 9 +++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) delete mode 100755 config/hooks/disable-services.sh.chroot create mode 100755 config/hooks/services.sh.chroot diff --git a/config/hooks/disable-services.sh.chroot b/config/hooks/disable-services.sh.chroot deleted file mode 100755 index 63d0fa7..0000000 --- a/config/hooks/disable-services.sh.chroot +++ /dev/null @@ -1,7 +0,0 @@ -#!/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 - 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 -- cgit v1.2.3