#! /bin/ksh
# IBM_PROLOG_BEGIN_TAG 
# This is an automatically generated prolog. 
#  
# onc720 src/oncplus/usr/sbin/autofs/automount.sh 1.1 
#  
#                  
#  
# OBJECT CODE ONLY SOURCE MATERIALS 
#  
# COPYRIGHT International Business Machines Corp. 1997 
# All Rights Reserved 
#  
# The source code for this program is not published or otherwise 
# divested of its trade secrets, irrespective of what has been 
# deposited with the U.S. Copyright Office. 
#  
# IBM_PROLOG_END_TAG 

#
# @(#)91  1.1  src/oncplus/usr/sbin/autofs/automount.sh, autofs, onc720 11/9/97 20:53:50
#

#
# If COMPAT_AUTOMOUNT environment is set (to any value)
# then we will use the old (non-AutoFS) automount. 
# Otherwise we will use the new ONC+ AutoFS automount 
# command.
#

[ ! -z "${COMPAT_AUTOMOUNT}" ]  && {\
    #
    # Use the old version.
    #
    /usr/sbin/compat_automount $*
    exit $?
}

#
# Use the new AutoFS automount. 
#
/usr/sbin/autofsmount $*
exit $?