#! /bin/sh test -x /usr/sbin/sshd || exit 0 set -e case "$1" in start) echo -n "Starting sshd" /usr/sbin/sshd echo "." ;; stop) echo -n "Stopping sshd" kill `cat /var/run/sshd.pid` echo "." ;; esac exit 0