diff options
author | Jacob Appelbaum <jacob@appelbaum.net> | 2011-08-26 01:04:20 +0200 |
---|---|---|
committer | Jacob Appelbaum <jacob@appelbaum.net> | 2011-08-26 01:04:20 +0200 |
commit | 19219db01b1a4929d4fc54fe7ad38e2f5eac491a (patch) | |
tree | c4ed8b7c3c00f10144abf92f20123a4f281b7ce1 /packages/torouter-prep/src | |
parent | 97d4f9226eb8b3b7db34450f8098eb91f6542cb9 (diff) | |
download | torouter-19219db01b1a4929d4fc54fe7ad38e2f5eac491a.tar.gz torouter-19219db01b1a4929d4fc54fe7ad38e2f5eac491a.zip |
add some other useful packages
Diffstat (limited to 'packages/torouter-prep/src')
-rw-r--r-- | packages/torouter-prep/src/torouter_config.sh | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh index 8449eec..d02ae0c 100644 --- a/packages/torouter-prep/src/torouter_config.sh +++ b/packages/torouter-prep/src/torouter_config.sh @@ -38,8 +38,16 @@ cp $config_dir/apt.conf /etc/apt/apt.conf apt-get -y update -# Remove a bunch of stuff: -apt-get -y remove exim4-base exim4-config exim4-daemon-light dbus +apt-get -y install apt-utils + +# Install a sane editor +apt-get -y install vim + +# install a sane pager +apt-get -y install less + +# Install a few networking tools +apt-get -y install lsof wireless-tools # Install the weird wireless control for the DreamPlug apt-get install -y -t sid uaputl @@ -61,7 +69,7 @@ apt-get -y -t experimental install tor tor-geoipdb # To build with natpmp support apt-get -y -t experimental install libnatpmp-dev -apt-get -y -t experimental install libnatpmp0 +apt-get -y -t experimental install libnatpmp1 # To build with miniupnpc support apt-get -y -t squeeze-backports install libminiupnpc-dev @@ -120,13 +128,26 @@ cp $config_dir/ttdnsd-default /etc/default/ttdnsd cp $config_dir/sshd_config /etc/ssh/sshd_config # Clean up our cache -apt-get -y remove polipo minissdpd +apt-get -f -y remove polipo minissdpd + +# Remove a bunch of stuff: +apt-get -y remove exim4-base exim4-config exim4-daemon-light dbus + apt-get -y autoremove apt-get -y clean +# Fixup apt if something goes wrong +apt-get install -f + + ## Disable ipv6 support for now cp $config_dir/modprobe.d-blacklist.conf /etc/modprobe.d/blacklist.conf echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf +## +## Restart the network here +## + +ifup -a ## ## Restart services here |