X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fscripts%2Flnet.in;h=84409eb90191f1938aa9b3d550ec01af37099c3e;hb=94f4e1f517d71ffd6662fb4a82e3dee9aa8f6796;hp=215b5506ffe0c9188dfdcc1e012655d46b1b5943;hpb=ccafcc7116411c7d276c5b8523b0effb4c4dd796;p=fs%2Flustre-release.git diff --git a/lustre/scripts/lnet.in b/lustre/scripts/lnet.in index 215b550..84409eb 100644 --- a/lustre/scripts/lnet.in +++ b/lustre/scripts/lnet.in @@ -1,5 +1,16 @@ #!/bin/bash # +# $Id: lnet.rc bogl Exp $ +# +### BEGIN INIT INFO +# Provides: lnet +# Required-Start: $network openibd +# Required-Stop: $network openibd +# Default-Start: 3 +# Default-Stop: 0 1 2 5 6 +# Description: Enable Lustre Networking +### END INIT INFO +# # lnet This shell script takes care of starting and stopping # the lnet (Lustre networking) services. # @@ -107,9 +118,7 @@ case "$1" in ;; stop) run_preexec_check "stop" - lustre_rmmod ptlrpc || exit 1 - lnetctl lnet unconfigure || exit 1 - lustre_rmmod libcfs ldiskfs || exit 1 + lustre_rmmod || exit 1 rm -f /var/lock/subsys/lnet run_postexec_check "stop" ;;