From 40cb1de8b55160a2db908c376c16b7b3d435131a Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Thu, 4 Dec 2014 15:32:00 +0100 Subject: [PATCH] correct depends between *wake* services --- master/etc/init.d/etherwake | 2 +- master/etc/init.d/ipmiwake | 2 +- master/etc/init.d/waitslaves | 2 +- master/etc/init.d/waitswitches | 6 +++--- master/etc/init.d/wakeonlan | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/master/etc/init.d/etherwake b/master/etc/init.d/etherwake index d23bccb..1fa7481 100755 --- a/master/etc/init.d/etherwake +++ b/master/etc/init.d/etherwake @@ -19,7 +19,7 @@ VER=1.4 ### BEGIN INIT INFO # Provides: etherwake -# Required-Start: $network +# Required-Start: $network waitswitches # Required-Stop: # Should-Start: # Default-Start: S diff --git a/master/etc/init.d/ipmiwake b/master/etc/init.d/ipmiwake index d20b9bc..13f6ff8 100755 --- a/master/etc/init.d/ipmiwake +++ b/master/etc/init.d/ipmiwake @@ -9,7 +9,7 @@ VER=1.0 ### BEGIN INIT INFO # Provides: ipmiwake -# Required-Start: $network +# Required-Start: $network waitswitches # Required-Stop: # Should-Start: # Default-Start: S diff --git a/master/etc/init.d/waitslaves b/master/etc/init.d/waitslaves index 4bacb1b..bfc2133 100755 --- a/master/etc/init.d/waitslaves +++ b/master/etc/init.d/waitslaves @@ -9,7 +9,7 @@ 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: S diff --git a/master/etc/init.d/waitswitches b/master/etc/init.d/waitswitches index 0a30d59..d807ef1 100755 --- a/master/etc/init.d/waitswitches +++ b/master/etc/init.d/waitswitches @@ -8,12 +8,12 @@ VER=1.0 # ============================================================================ ### BEGIN INIT INFO -# Provides: waitswithes +# Provides: waitswitches # Required-Start: $network # Required-Stop: # Should-Start: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 +# Default-Start: S +# Default-Stop: # Short-Description: Wait switches # Description: Wait for all switches are ready for running ### END INIT INFO diff --git a/master/etc/init.d/wakeonlan b/master/etc/init.d/wakeonlan index 1c360ce..d67a847 100755 --- a/master/etc/init.d/wakeonlan +++ b/master/etc/init.d/wakeonlan @@ -19,7 +19,7 @@ VER=1.5 ### BEGIN INIT INFO # Provides: wakeonlan -# Required-Start: $network +# Required-Start: $network waitswitches # Required-Stop: # Should-Start: # Default-Start: S -- 2.30.2