#
# Set up sample isppp.cf script in conf dir
#

# touch log file 
if [ ! -f /var/opt/SUNWisdn/log ]; then
        touch /var/opt/SUNWisdn/log 
fi

#

# don't start as a router
#if [ ! -f /etc/gateways ]; then
#	echo "Creating /etc/gateways to force this machine to become a router."
#	/usr/bin/touch /etc/gateways
#fi

CONFDIR=/etc/opt/SUNWisdn
ISDN_CONFIG_SAMPLES=$BASEDIR/SUNWisdn/samples

if [ ! -f $CONFDIR/isppp.cf ]; then
	cp $ISDN_CONFIG_SAMPLES/isppp.cf $CONFDIR
	chmod 600 $CONFDIR/isppp.cf
	echo "Please modify $CONFDIR/isppp.cf to match your PPP configuration"
fi

exit 0
