mirror of git://anongit.mindrot.org/openssh.git
- sshd Redhat init script patch from Jim Knoble <jmknoble@pobox.com>
fixes compatability with 4.x and 5.x
This commit is contained in:
parent
aae6c614da
commit
0c078c6633
|
@ -1,3 +1,7 @@
|
||||||
|
19991207
|
||||||
|
- sshd Redhat init script patch from Jim Knoble <jmknoble@pobox.com>
|
||||||
|
fixes compatability with 4.x and 5.x
|
||||||
|
|
||||||
19991204
|
19991204
|
||||||
- Small cleanup of PAM code in sshd.c
|
- Small cleanup of PAM code in sshd.c
|
||||||
- Merged OpenBSD CVS changes:
|
- Merged OpenBSD CVS changes:
|
||||||
|
|
|
@ -21,8 +21,16 @@ case "$1" in
|
||||||
start)
|
start)
|
||||||
echo -n "Starting sshd: "
|
echo -n "Starting sshd: "
|
||||||
if [ ! -f /var/run/sshd.pid ] ; then
|
if [ ! -f /var/run/sshd.pid ] ; then
|
||||||
/usr/sbin/sshd && success "sshd startup" || failure "sshd startup"
|
case "`type -type success`" in
|
||||||
RETVAL=$?
|
function)
|
||||||
|
/usr/sbin/sshd && success "sshd startup" || failure "sshd startup"
|
||||||
|
RETVAL=$?
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
/usr/sbin/sshd && echo -n "sshd "
|
||||||
|
RETVAL=$?
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue