3 export PATH=`dirname $0`/../utils:$PATH
7 LLMOUNT=${LLMOUNT:-llmount}
12 if [ "$PORTALS" ]; then
13 portals_opt="--portals=$PORTALS"
16 if [ "$LUSTRE" ]; then
17 lustre_opt="--lustre=$LUSTRE"
20 if [ "$LDAPURL" ]; then
21 conf_opt="--ldapurl $LDAPURL --config $NAME"
23 if [ ! -f $config -o $mkconfig -nt $config ]; then
24 sh $mkconfig $config || exit 1
29 [ "$NODE" ] && node_opt="--node $NODE"
31 ${LCONF} $NOMOD $portals_opt $lustre_opt $node_opt $@ $conf_opt || exit 2
33 if [ "$MOUNT2" ]; then
34 $LLMOUNT -v `hostname`:/mds1/client $MOUNT2 || exit 3