#!/bin/sh
# Begin /etc/init.d/

# Include the functions declared in the /etc/rc.d/functions file
source /etc/rc.d/functions

# path to binary
ROOT="/opt/kde/bin"
# name of binary to run
APP="lisa"
#runtime options
OPT="-q"
#server name & description
SERVER="Secure Shell daemon"

case "$1" in
    start)
	check_config
	echon "Starting $SERVER ..."
	loadproc $ROOT/$APP $OPT
	;;
    stop)
	echon "Stopping $SERVER ..."
        killproc $ROOT/$APP
        ;;
    reload)
        echon "Reloading $SERVER..........."
        reloadproc $ROOT/$APP
        ;;
    restart)
        $0 stop
	sleep 1
	$0 start
        ;;
    status)
        statusproc $ROOT/$APP
        ;;
    *)
        echo "Usage: $0 {start|stop|reload|restart|status}"        
    ;;
esac

# End /etc/init.d/
