From 7093b602476db7f19109897ca4135bdadbed297c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 21 Sep 2012 13:33:46 +0200 Subject: [PATCH] /etc/init.d/openibd: Fix LSB header 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 --- compat-rdma.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compat-rdma.spec b/compat-rdma.spec index 6a10f1c..073b941 100755 --- a/compat-rdma.spec +++ b/compat-rdma.spec @@ -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 2 6 +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 # Description: Activates/Deactivates InfiniBand Driver to \ # start at boot time. ### END INIT INFO -- 2.46.0