#!/bin/sh
#
# $RCSfile: early_command.sh,v $
# Original Author...: Anthony Awtrey
# Version...........: $Revision: 1.2 $
# Last Modified By..: $Author: aawtrey $
# Last Modified.....: $Date: 2005/04/09 18:15:42 $
#
# Copyright 2005 Anthony Awtrey
#
# Purpose:
# This is the command that is run early in the base-config phase
#

echo "Running the base-config/early_command..."

# Configure the /etc/network/interfaces file
/usr/bin/wget -q -O /etc/network/interfaces http://www.awtrey.com/files/autodebian/interfaces

# Fix the root's bashrc the way Tony likes it
/usr/bin/wget -q -O /root/.bashrc http://www.awtrey.com/files/autodebian/.bashrc

# Disable file system check on root since we are using an ext3 journaled file system
/sbin/tune2fs -i 0 -c 0 /dev/hda1

# Add a pretty login splash screen for grub
/usr/bin/wget -q -O /boot/grub/splash.xpm.gz http://www.awtrey.com/files/autodebian/splash.xpm.gz
/sbin/update-grub

echo "Done!"

# End

