#!/bin/sh

# This file should not be modified -- make local changes to
# /etc/ppp/ip-up.local instead

LOGDEVICE=$6
REALDEVICE=$1

export PATH=/sbin:/usr/sbin:/bin:/usr/bin

[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}

[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"

#[ $1=="ppp3g0" ] &&  /bin/3g-mngr setdns --dns1=$DNS1 --dns2=$DNS2
[ $1=="ppp3g0" ] &&  /bin/3g-mngr ipup

exit 0
