X-Git-Url: http://git.onelab.eu/?p=pl_sshd.git;a=blobdiff_plain;f=pl_sshd;h=f9edff2eaacb1c7d07371d726aea214fe82aeb9a;hp=8a577689b0304aee8971d11a883c069ab3a38eef;hb=HEAD;hpb=e05a8634df6a726188b495941800f4dd9f6b7820 diff --git a/pl_sshd b/pl_sshd index 8a57768..f9edff2 100644 --- a/pl_sshd +++ b/pl_sshd @@ -3,7 +3,7 @@ # Init file for PlanetLab OpenSSH server daemon (copied from standard # sshd init file, minor modifications made). # -# chkconfig: 2345 55 25 +# chkconfig: 2345 56 25 # description: PlanetLab OpenSSH server daemon # # processname: sshd @@ -23,7 +23,7 @@ RETVAL=0 prog="pl_sshd" # Some functions to make the below more readable -SSHD=/usr/local/sbin/pl_sshd.sh +SSHD=/usr/local/sbin/pl_sshd PID_FILE=/var/run/pl_sshd.pid do_restart_sanity_check() @@ -39,7 +39,8 @@ do_restart_sanity_check() start() { echo -n $"Starting $prog:" - initlog -c "$SSHD $OPTIONS" && success || failure + #initlog -c "$SSHD $OPTIONS" && success || failure + $SSHD $OPTIONS && success || failure RETVAL=$? [ "$RETVAL" = 0 ] && touch /var/lock/subsys/pl_sshd echo