3 # local Invoke custom scripts at startup
4 # chkconfig: 2345 99 01
6 # description: This script will be executed *after* all the other init \
7 # scripts. You can put your own initialization stuff in here if you don't \
8 # want to do the full Sys V style init stuff.
11 # Source function library.
12 . /etc/rc.d/init.d/functions
14 # See how we were called.
17 msg_starting "rc.local"
20 touch /var/lock/subsys/local
23 rm -f /var/lock/subsys/local >/dev/null 2>&1
26 if [ -f /var/lock/subsys/local ]; then
27 nls 'rc.local has been started'
29 nls 'rc.local has not been started'
33 msg_usage "$0 {start|stop|status}"