aboutsummaryrefslogtreecommitdiffstats
path: root/config/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/hooks')
-rwxr-xr-xconfig/hooks/remove-packages.sh.chroot2
-rwxr-xr-xconfig/hooks/tor-usergroup.sh.chroot2
2 files changed, 4 insertions, 0 deletions
diff --git a/config/hooks/remove-packages.sh.chroot b/config/hooks/remove-packages.sh.chroot
index 10fa78b..76ca081 100755
--- a/config/hooks/remove-packages.sh.chroot
+++ b/config/hooks/remove-packages.sh.chroot
@@ -1,5 +1,7 @@
#!/bin/sh
+echo "Removing unwanted apt packages"
apt-get -f -y remove --purge polipo minissdpd
apt-get -y remove exim4-base exim4-config exim4-daemon-light dbus isc-dhcp-server
+apt-get autoremove
diff --git a/config/hooks/tor-usergroup.sh.chroot b/config/hooks/tor-usergroup.sh.chroot
index e46ad16..67ca241 100755
--- a/config/hooks/tor-usergroup.sh.chroot
+++ b/config/hooks/tor-usergroup.sh.chroot
@@ -1,5 +1,7 @@
#!/bin/sh
+echo "Creating tor user and groups"
+
export ADMINUSER="tor"
export ADMINGROUP="tor"
export TORADMINGROUP="debian-tor"