Whamcloud - gitweb
land 0.5.20.3 b_devel onto HEAD (b_devel will remain)
[fs/lustre-release.git] / lustre / tests / llrmount.sh
1 #!/bin/sh
2
3 LCONF=${LCONF:-../utils/lconf}
4 NAME=${NAME:-local}
5
6 config=$NAME.xml
7 mkconfig=$NAME.sh
8
9 if [ "$PORTALS" ]; then
10   portals_opt="--portals=$PORTALS"
11 fi
12
13 if [ "$LUSTRE" ]; then
14   lustre_opt="--lustre=$LUSTRE"
15 fi
16
17 if [ ! -f $config -o $mkconfig -nt $config ]; then
18    sh $mkconfig $config || exit 1
19 fi
20
21 ${LCONF} $portals_opt $lustre_opt --gdb $config || exit 2