From: Bart Van Assche Date: Fri, 21 Sep 2012 11:33:46 +0000 (+0200) Subject: /etc/init.d/openibd: Fix LSB header X-Git-Tag: vofed-3.5-x~38 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7093b602476db7f19109897ca4135bdadbed297c;p=~emulex%2Ffor-vlad%2Fcompat-rdma.git /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 --- 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