#!/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.
# Start Nagios
if [ -x /etc/rc.d/rc.nagios ]; then
echo "Nagios in rc.local"
. /etc/rc.d/rc.nagios start
fi
echo "between the two"
# Start the SMS daemon:
if [ -x /etc/rc.d/rc.smsd ]; then
echo "smsd in rc.local"
. /etc/rc.d/rc.smsd start
fi