#!/bin/sh # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local startup commands in here. Also, if you have # anything that needs to be run at shutdown time you can # make an /etc/rc.d/rc.local_shutdown script and put those # commands in there. if grep keymap /proc/cmdline 1> /dev/null 2> /dev/null ; then /etc/rc.d/rc.setkeymap fi if ifconfig | grep eth0 1> /dev/null 2> /dev/null ; then echo "Network Device status for eth0:" ifconfig eth0 fi if ifconfig | grep eth1 1> /dev/null 2> /dev/null ; then echo "A Second network device (eth1) was found, it's status is:" ifconfig eth1 fi echo "Log in with root." echo "Type runthelp for a list of useful commands." echo "Type diskhelp for a list of filesystem related commands" echo "Shut down with \"shutdown -h now\""