X-Git-Url: http://git.onelab.eu/?p=pl_sshd.git;a=blobdiff_plain;f=pl_sshd;h=f9edff2eaacb1c7d07371d726aea214fe82aeb9a;hp=e6f2f2eab7373cc98cc9ffff30131c99bafc0c04;hb=HEAD;hpb=680b8750245010dce9448f022cef775f0cb953b0 diff --git a/pl_sshd b/pl_sshd index e6f2f2e..f9edff2 100644 --- a/pl_sshd +++ b/pl_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