#!/bin/sh # Source functions . /etc/rc.d/init.d/functions # Do not execute if starting and already run if [ "$1" = "start" -a -f /var/lock/subsys/local ] then exit 0 fi # Remove subsys lock file when stopping if [ "$1" = "stop" ] then rm -f /var/lock/subsys/local exit 0 fi # Create lock file touch /var/lock/subsys/local # 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. ##### Add your commands below this line ##### Add your commands above this line exit 0