#!/bin/bash
#
# Execute the script used to check whether Modem is present and if so, install it

. /etc/rc.d/init.d/functions
. /etc/rc.d/init.d/init_functions
. /etc/profile.d/SetNNEnvVar.sh

#Initializing the scrpit for Modem

if [ -f /nn/etc/ppp/modem/InstallDialUp ];then
	/bin/bash /nn/etc/ppp/modem/InstallDialUp >/dev/null
fi

if [ -f /nn/etc/ppp/modem/InstallModemDialUp ];then
	/bin/bash /nn/etc/ppp/modem/InstallModemDialUp >/dev/null
fi

if [ -f /nn/etc/ppp/pppoe/InstallPPPoEDialUp ];then
	/bin/bash /nn/etc/ppp/pppoe/InstallPPPoEDialUp >/dev/null
fi
