3 export PATH=`dirname $0`/../utils:$PATH
11 if [ "$PORTALS" ]; then
12 portals_opt="--portals=$PORTALS"
15 if [ "$LUSTRE" ]; then
16 lustre_opt="--lustre=$LUSTRE"
19 if [ "$LDAPURL" ]; then
20 conf_opt="--ldapurl $LDAPURL --config $NAME"
22 if [ ! -f $config -o $mkconfig -nt $config ]; then
23 sh $mkconfig $config || exit 1
28 [ "$NODE" ] && node_opt="--node $NODE"
30 ${LCONF} $NOMOD $portals_opt $lustre_opt $node_opt $@ $conf_opt || exit 2