#!/sbin/sh # # /etc/init.d/ssh - Start/Stop the ssh daemon # # SPD, Tue May 14 15:18:08 MET DST 1996 # PATH=/usr/bin:/bin case $1 in 'start') if [ -f /usr/local/etc/acfaild ] then /usr/local/etc/acfaild -d ||\ echo "acfaild didn't start: $?" fi ;; 'stop') pid=`/usr/bin/ps -e | /usr/bin/grep acfaild | \ /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` if test "$pid" then kill $pid fi ;; *) echo "usage: $0 {start|stop}" ;; esac