3 # remove all lustre modules. Won't succeed if they're in use, or if you
4 # manually did a 'lctl network up'.
5 ###############################################################################
8 PATH=$PWD/$SRCDIR:$SRCDIR:$SRCDIR/../utils:$PATH
10 lctl modules | awk '{ print $2 }' | xargs rmmod >/dev/null 2>&1
11 # do it again, in case we tried to unload the lnd's too early
12 lsmod | grep lnet > /dev/null && lctl modules | awk '{ print $2 }' | xargs rmmod