Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-15512 lnet: Stop discovery on deleted peer NI
[fs/lustre-release.git]
/
lustre
/
scripts
/
lnet.in
diff --git
a/lustre/scripts/lnet.in
b/lustre/scripts/lnet.in
index
215b550
..
84409eb
100644
(file)
--- a/
lustre/scripts/lnet.in
+++ b/
lustre/scripts/lnet.in
@@
-1,5
+1,16
@@
#!/bin/bash
#
#!/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.
#
# 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"
;;
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"
;;
rm -f /var/lock/subsys/lnet
run_postexec_check "stop"
;;