summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-18 20:54:52 +1100
committerDamien Miller <djm@mindrot.org>1999-12-18 20:54:52 +1100
commitc4c647fb9465ae98816c5a6a1a6d9dae0e383e9a (patch)
tree42ea5d2742b345ecf15f562a3a64bbf5c20ec651 /packages
parentfdb5f13c5b5e73dffd50dbf61a37bf3aeb3e5fae (diff)
- Redhat init script patch from Chun-Chung Chen
<cjj@u.washington.edu>
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/redhat/sshd.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/redhat/sshd.init b/packages/redhat/sshd.init
index a62866a2..cac91bb5 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