# cronjob goo
killall apt-get
+# remove packages that we do not need
+apt-get remove --purge -y --auto-remove network-manager hplip brltty bluez-cups gnome-accessibility-themes gnome-mag gnome-orca onboard tomboy ttf-arabeyes ttf-arphic-ukai ttf-arphic-uming ttf-baekmuk ttf-gentium ttf-indic-fonts ttf-kochi-gothic ttf-kochi-mincho ttf-lao ttf-malayalam-fonts ttf-mgopen ttf-thai-tlwg
+
+# restore our network
+ifdown eth0 || true
+ifup eth0
+
# install packages from network sources
apt-get update -o Acquire::Http::No-Cache=true
-DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes vim bzr bzrtools python-paramiko patchutils offlineimap wipe gnome-gpg diffstat dchroot gtimelog pibackup jigdo-file libtool devhelp python-doc perl-doc manpages-dev gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-ffmpeg xchat nvidia-glx debmirror dpatch wdiff dhcp3-server grep-dctrl ccache subversion listadmin ia32-libs quilt
+DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes vim bzr bzrtools python-paramiko patchutils offlineimap wipe gnome-gpg diffstat dchroot gtimelog pibackup jigdo-file libtool devhelp python-doc perl-doc manpages-dev gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-ffmpeg xchat debmirror dpatch wdiff dhcp3-server grep-dctrl ccache subversion listadmin ia32-libs quilt apache2
apt-get -y build-dep postgresql-8.1 gnome-volume-manager hal pmount cupsys
# other setup
-nvidia-glx-config enable
+ln -s /mirror /var/www/mirror
ifdown eth1
ifup eth1
/etc/init.d/dhcp3-server restart