correct waitslaves
[debian6500.git] / master / etc / init.d / waitslaves
index 2354742817aa4c12f0a946bf77a9970dc90201fc..8347d2c59a638ebb2226f60a59e559a68a74f6ff 100755 (executable)
@@ -9,11 +9,11 @@ VER=1.0
 
 ### BEGIN INIT INFO
 # Provides:          waitslaves
-# Required-Start:    $network $sshd isc-dhcp-server atftpd nfs-kernel-server wakeonlan etherwake
+# Required-Start:    $network $sshd isc-dhcp-server atftpd nfs-kernel-server wakeonlan etherwake ipmiwake
 # Required-Stop:
 # Should-Start:
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
+# Default-Start:     S
+# Default-Stop:      
 # Short-Description: Wait cluster slave blades
 # Description:       Wait for all cluster slave blades are ready for running
 ### END INIT INFO
@@ -30,8 +30,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 . /lib/lsb/init-functions
 
 do_start () {
-    log_action_msg "Waite all slave blades"
-    $SCRIPT -t $TIMEOUT -w -c 'test -e /home/trc6500 && echo ok'
+    log_action_msg "Wait all slave blades"
+    $SCRIPT -t $TIMEOUT -x -w -c 'test -e /home/trc6500 && echo ok'
 }
 
 case "$1" in