rendered paste body[root@localhost ppp]# cat ip-up
#!/bin/bash
# This file should not be modified -- make local changes to
# /etc/ppp/ip-up.local instead
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/etc/ppp
export PATH
LOGDEVICE=$6
REALDEVICE=$1
ADDRESS=$5
perl readfile ${ADDRESS}
[ -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 "$@"
date > /var/run/ppp.up
echo "REMOTE_IP_ADDRESS =" ${ADDRESS} >> /var/run/ppp.up
exit 0