Tagging module pl_sshd - pl_sshd-1.0-11
[pl_sshd.git] / pl_sshd
diff --git a/pl_sshd b/pl_sshd
index 8a57768..f9edff2 100644 (file)
--- 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