3 export PATH=`dirname $0`/../utils:$PATH
7 LLMOUNT=${LLMOUNT:-llmount}
8 SECURITY=${SECURITY:-"null"}
15 start_krb5_kdc || exit 1
16 start_lsvcgssd || exit 2
19 if [ "$PORTALS" ]; then
20 portals_opt="--portals=$PORTALS"
23 if [ "$LUSTRE" ]; then
24 lustre_opt="--lustre=$LUSTRE"
27 if [ "$LDAPURL" ]; then
28 conf_opt="--ldapurl $LDAPURL --config $NAME"
30 if [ ! -f $config -o $mkconfig -nt $config ]; then
31 sh $mkconfig $config || exit 4
36 [ "$NODE" ] && node_opt="--node $NODE"
38 ${LCONF} $NOMOD --mds_sec $SECURITY $portals_opt $lustre_opt $node_opt \
39 $@ $conf_opt || exit 5
41 if [ "$MOUNT2" ]; then
42 $LLMOUNT -v -o mds_sec=$SECURITY `hostname`:/mds1/client $MOUNT2 || exit 6