Fix init script
This commit is contained in:
parent
1a425f3eeb
commit
123cbe8e86
|
@ -1,3 +1,6 @@
|
|||
20000903
|
||||
- (djm) Fix Redhat init script
|
||||
|
||||
20000901
|
||||
- (djm) Pick up Jim's new X11-askpass
|
||||
- (djm) Release 2.2.0p1
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue