#!/bin/bash -ex

# Last changed Thu May  8 11:40:31 EDT 2008

trap '
SAVEDSTATUS=$?
set +x
if [ x$CLEANEXIT = x ]
then
	echo "$0: ERROR Unexpected exit with return value of $SAVEDSTATUS"
	exit $SAVEDSTATUS
fi' EXIT

#-----

# Allow incoming ssh, you probably don't want this:
apt-get -y install openssh-server

# Here is tcsh, however now is a good time to convert to bash:
apt-get -y install tcsh

apt-get -y install twm

apt-get -y install xscreensaver

apt-get -y install xloadimage xli

apt-get -y install apcupsd gapcmon apcupsd-doc

# NFS home dirs, only for Stat-managed machines:
apt-get -y install nfs-common ## nfs-kernel-server

apt-get -y install autofs

# Mail transport, only for Stat-managed machines:
apt-get -y install postfix postfix-doc

apt-get -y install mailx

apt-get -y install fetchmail

apt-get -y install expect

# Stuff for sysadmin:

apt-get -y install mercurial

apt-get -y install perl-doc

###perl -MCPAN -e shell
###install Mknod
###^D

apt-get -y install alien

### apt-get -y install sysstat

apt-get -y install mysql-client mysql-navigator mysql-query-browser mysql-server mysql-admin mysql-doc-5.0

### # RT
### apt-get -y install apache2 apache2-doc request-tracker3.6 rt3.6-apache2 rt3.6-clients lynx apache-doc apache-ssl apache-perl libapache-mod-perl-doc

#-----

CLEANEXIT=1
exit 0
