]> git.openfabrics.org - compat-rdma/compat-rdma.git/commitdiff
/etc/init.d/openibd: Fix LSB header
authorBart Van Assche <bvanassche@acm.org>
Fri, 21 Sep 2012 11:33:46 +0000 (13:33 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Tue, 2 Oct 2012 11:34:07 +0000 (13:34 +0200)
The meaning of the "Required-Stop" tag is which services must be
available during shutdown of a service. Avoid specifying the same
runlevel for the "Default-Start" and "Default-Stop" tag. Also,
the default start runlevels on Debian are 2, 3, 4 and 5.

See also http://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
compat-rdma.spec

index 6a10f1c5613f054c82181ad234aeb97bd521d905..073b9414a2ab20ab1597bac3661b9677764e123d 100755 (executable)
@@ -359,9 +359,9 @@ if [ -f /etc/SuSE-release ]; then
 ### BEGIN INIT INFO
 # Provides:       openibd
 # Required-Start: $local_fs
-# Required-Stop: opensmd $openiscsi
+# Required-Stop: $local_fs
 # Default-Start:  2 3 5
-# Default-Stop: 0 1 2 6
+# Default-Stop: 0 1 4 6
 # Description:    Activates/Deactivates InfiniBand Driver to \
 #                 start at boot time.
 ### END INIT INFO
@@ -386,9 +386,9 @@ if [ -f /etc/debian_version ]; then
 ### BEGIN INIT INFO
 # Provides:       openibd
 # Required-Start: $local_fs
-# Required-Stop: opensmd $openiscsi
-# Default-Start:  2 3 5
-# Default-Stop: 0 1 6
+# Required-Stop: $local_fs
+# Default-Start:  2 3 5
+# Default-Stop: 0 1 6
 # Description:    Activates/Deactivates InfiniBand Driver to \
 #                 start at boot time.
 ### END INIT INFO