diff options
author | ficus <ficus@robocracy.org> | 2012-11-17 02:54:33 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-17 02:54:33 +0100 |
commit | 522377caa2409ecf196e1ce98af1b2569a0bb53d (patch) | |
tree | aac0a8b8688598f1ba79d4dd3a23e5e1d5e26a6b /config/hooks | |
parent | 6f5e3d051f59d617d27f284ad95a336f8a68bb57 (diff) | |
download | torouter-live-522377caa2409ecf196e1ce98af1b2569a0bb53d.tar.gz torouter-live-522377caa2409ecf196e1ce98af1b2569a0bb53d.zip |
remove transient files and include .gitignore
Diffstat (limited to 'config/hooks')
-rwxr-xr-x | config/hooks/remove-packages.sh.chroot | 2 | ||||
-rwxr-xr-x | config/hooks/tor-usergroup.sh.chroot | 2 |
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" |