Fix init script

This commit is contained in:
Damien Miller 2000-09-03 19:14:58 +11:00
parent 1a425f3eeb
commit 123cbe8e86
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,6 @@
20000903
- (djm) Fix Redhat init script
20000901
- (djm) Pick up Jim's new X11-askpass
- (djm) Release 2.2.0p1

View File

@ -57,9 +57,14 @@ case "$1" in
echo -n "Starting sshd: "
if [ ! -f $PID_FILE ] ; then
daemon sshd
sshd
RETVAL=$?
touch /var/lock/subsys/sshd
if [ "$RETVAL" = "0" ] ; then
success "sshd startup"
touch /var/lock/subsys/sshd
else
failure "sshd startup"
fi
fi
echo
;;