next up previous contents
Next: /root/firewall Up: RedHat 9 Lab Machines Previous: /etc/hosts.deny   Contents

/etc/rc.local

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.


#
# start up the firewall
# - Eric Thern
#
/sbin/insmod ip_tables
/root/firewall

#
# run the startup-script that is located on minotaur's NFS share
#
if test -x /usr/local/startup
then
/usr/local/startup
else
echo "MINOTAUR OFFLINE -- OR -- /usr/local is NOT mounted!
May have to reboot again to fix this, you won't be logging in!"
fi

touch /var/lock/subsys/local



2003-08-28