Whamcloud - gitweb
Merge b_md into HEAD
[fs/lustre-release.git] / lustre / tests / llrmount.sh
index c559821..9bf287e 100755 (executable)
@@ -6,8 +6,12 @@ NAME=${NAME:-local}
 config=$NAME.xml
 mkconfig=$NAME.sh
 
+if [ "$PORTALS" ]; then
+  portals_opt="--portals=$PORTALS"
+fi
+
 if [ ! -f $config -o $mkconfig -nt $config ]; then
    sh $mkconfig $config || exit 1
 fi
 
-${LCONF} --gdb $config || exit 2
+${LCONF} $portals_opt --gdb $config || exit 2