summaryrefslogtreecommitdiff
path: root/packages/redhat
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/redhat
parentfdb5f13c5b5e73dffd50dbf61a37bf3aeb3e5fae (diff)
- Redhat init script patch from Chun-Chung Chen
<cjj@u.washington.edu>
Diffstat (limited to 'packages/redhat')
-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 a62866a2a..cac91bb51 100755
--- a/packages/redhat/sshd.init
+++ b/packages/redhat/sshd.init
@@ -31,6 +31,7 @@ case "$1" in
31 RETVAL=$? 31 RETVAL=$?
32 ;; 32 ;;
33 esac 33 esac
34 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd
34 fi 35 fi
35 echo 36 echo
36 ;; 37 ;;
@@ -40,6 +41,7 @@ case "$1" in
40 killproc sshd 41 killproc sshd
41 fi 42 fi
42 echo 43 echo
44 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd
43 ;; 45 ;;
44 restart) 46 restart)
45 $0 stop 47 $0 stop