#!/bin/sh # # Source functions . /etc/rc.d/init.d/functions RETVAL=0 # See how we were called. case "$1" in start) echo -n "Starting SSH " #daemon lpd /usr/sbin/sshd RETVAL=$? echo ;; stop) # Stop daemons. echo -n "Shutting down ssh: " killproc ssh RETVAL=$? echo ;; *) echo "Usage: ssh {start|stop}" exit 1 esac exit $RETVAL