Home | History | Annotate | Download | only in fnfs
      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the "License").
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets "[]" replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 
     22 #
     23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 # ident	"@(#)config.vars	1.6	08/07/01 SMI"
     27 #
     28 
     29 CLIENT=$(uname -n); export CLIENT
     30 MNTPTR=${MNTPTR:-"/stc2_FNFS_$CLIENT"}; export MNTPTR	# for $SERVER to export
     31 TMPDIR=${TMPDIR:-"/usr/tmp/fnfs"}; export TMPDIR	# tmp directory
     32 FNFS_MAPS=$TMPDIR/fnfs_maps; export FNFS_MAPS 		# automounter maps dir
     33 SRVTMPDIR=${SRVTMPDIR:-"/usr/tmp"}; export SRVTMPDIR	# tmp dir for sever
     34 PATH=/usr/sbin:/usr/bin:/usr/lib/autofs:.:/sbin:$PATH	# for mount commands
     35 export PATH
     36 
     37 export autofs=svc:/system/filesystem/autofs:default
     38 
     39 export try_times=${try_times:-5}
     40 export smf_timeout=${smf_timeout:-30}
     41 export autofs_timeout=${autofs_timeout:-65}
     42 export STF_VARIABLES="SERVER CLIENT ZONE_PATH MNTPTR TMPDIR PATH autofs try_times"
     43 export STF_VARIABLES="$STF_VARIABLES smf_timeout autofs_timeout"
     44 export STF_VARIABLES="$STF_VARIABLES FNFS_MAPS SRVTMPDIR DNS_SERVER"
     45 export STF_VARIABLES="$STF_VARIABLES NFSMAPIDDOMAIN"
     46