Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge b_md into HEAD
[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 [ ! -f $config -o $mkconfig -nt $config ]; then
14
sh $mkconfig $config || exit 1
15
fi
16
17
${LCONF} $portals_opt --gdb $config || exit 2