From f4968a17d48f9d182ac5592f4ac7a17aa43bbde3 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 17 Apr 2007 22:26:26 +0000 Subject: [PATCH] unload a third time for lnet --- lustre/scripts/lustre_rmmod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/scripts/lustre_rmmod b/lustre/scripts/lustre_rmmod index 6663ec6..c306594 100755 --- a/lustre/scripts/lustre_rmmod +++ b/lustre/scripts/lustre_rmmod @@ -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 -- 1.8.3.1