Whamcloud - gitweb
unload a third time for lnet
authornathan <nathan>
Tue, 17 Apr 2007 22:26:26 +0000 (22:26 +0000)
committernathan <nathan>
Tue, 17 Apr 2007 22:26:26 +0000 (22:26 +0000)
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