Whamcloud - gitweb
unload a third time for lnet
[fs/lustre-release.git] / lustre / scripts / lustre_rmmod
index 6663ec6..c306594 100755 (executable)
@@ -14,5 +14,7 @@ esac
 
 lctl modules | awk '{ print $2 }' | xargs $RMMOD >/dev/null 2>&1
 # do it again, in case we tried to unload the lnd's too early
+lctl modules | awk '{ print $2 }' | xargs $RMMOD >/dev/null 2>&1
+# third times the charm
 lsmod | grep lnet > /dev/null && lctl modules | awk '{ print $2 }' | xargs $RMMOD