# rcS - runlevel compatibility # # This task runs the old sysv-rc startup scripts. start on stopped udevstart #stop on runlevel # Note: there can be no previous runlevel here, if we have one it's bad # information (we enter rc1 not rcS for maintenance). Run /etc/init.d/rc # without information so that it defaults to previous=N runlevel=S. console output script source /etc/event.d/functions if [ -f /etc/sysconfig/nodename ]; then /bin/hostname `cat /etc/sysconfig/nodename` status_message "Hostname set to $HOSTNAME" else /bin/hostname "localhost" status_message "Hostname set to $HOSTNAME" fi end script