# /etc/rc.d/init.d/lash # # Starts the lash daemon # # See how we were called. # case "$1" in start) echo -n "Starting lash Daemon: " /usr/bin/lashd 2>/dev/null 1>/dev/null & echo "lash" ;; stop) echo -n "Stopping lash Daemon: " /bin/kill -TERM `/sbin/pidof /usr/bin/lashd` 2>/dev/null echo "done." ;; reload|restart) $0 stop sleep 2 $0 start ;; *) echo "Usage: $0 {start|stop|restart|reload}" exit 1 esac exit 0