From c4c647fb9465ae98816c5a6a1a6d9dae0e383e9a Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 18 Dec 1999 20:54:52 +1100 Subject: [PATCH] - Redhat init script patch from Chun-Chung Chen --- ChangeLog | 7 ++++++- packages/redhat/sshd.init | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b61c3b3a2..b89d475b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +19991218 + - Redhat init script patch from Chun-Chung Chen + + 19991216 - Makefile changes for Solaris from Peter Kocks @@ -409,7 +413,8 @@ - [ssh.1] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too - [sshd.8] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too - Fix integer overflow which was messing up scp's progress bar for large - file transfers. Fix submitted to OpenBSD developers. + file transfers. Fix submitted to OpenBSD developers. Report and fix + from Kees Cook - Merged more OpenBSD CVS changes: - [auth-krb4.c auth-passwd.c] remove x11- and krb-cleanup from fatal() + krb-cleanup cleanup diff --git a/packages/redhat/sshd.init b/packages/redhat/sshd.init index a62866a2a..cac91bb51 100755 --- a/packages/redhat/sshd.init +++ b/packages/redhat/sshd.init @@ -31,6 +31,7 @@ case "$1" in RETVAL=$? ;; esac + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd fi echo ;; @@ -40,6 +41,7 @@ case "$1" in killproc sshd fi echo + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd ;; restart) $0 stop