From eee0d286768b0757b2c2bf12264b3eab4ba1ac26 Mon Sep 17 00:00:00 2001 From: nathan <nathan> Date: Tue, 29 May 2007 19:39:51 +0000 Subject: [PATCH] b=12461 better "options lnet" grabbing --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 014248c739..90c08a4662 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -105,7 +105,7 @@ load_modules() { echo Loading modules from $LUSTRE load_module ../lnet/libcfs/libcfs [ -z "$LNETOPTS" ] && \ - LNETOPTS=`awk '/options lnet/ { print $3 }' /etc/modprobe.conf` + LNETOPTS=$(awk '/^options lnet/ { print $0}' /etc/modprobe.conf | sed 's/^options lnet //g') echo "lnet options: '$LNETOPTS'" # note that insmod will ignore anything in modprobe.conf load_module ../lnet/lnet/lnet $LNETOPTS -- GitLab