>>>activate>>>
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin

. /etc/sysconfig/network-scripts/ifcfg-@@@interface@@@

if [ "foo$1" = "fooboot" -a ${ONBOOT} = "no" ]
then
	exit
fi

cat ${DIPSCRIPT} | sed -e "s/@@@local-ip@@@/${IPADDR}/g" \
                       -e "s/@@@remote-ip@@@/${REMIP}/g" \
                       -e "s/@@@modem-speed@@@/${SPEED}/g" \
                       -e "s/@@@phone-number@@@/${PHONE}/g" \
                       -e "s/@@@login-id@@@/${LOGIN}/g" \
                       -e "s/@@@password@@@/${PASSWORD}/g" \
                       -e "s/@@@mtu@@@/${MTU}/g" \
                       -e "s/@@@connect-string@@@/${CONNECT}/g" \
                       -e "s/@@@connection-type@@@/${CTYPE}/g" >/tmp/dip.$$

dip /tmp/dip.$$
rm /tmp/dip.$$

if [ "$DEDICATED" = "yes" ]; then
	watch-ppp &
fi
>>>end>>>
>>>deactivate>>>
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin

. /etc/sysconfig/network-scripts/ifcfg-@@@interface@@@

#ifconfig @@@interface@@@ down
kill `cat /var/run/dip.pid`
>>>end>>>
>>>variables>>>
Local IP Address^IPADDR^entry^-1
DIP Script (/etc/dip-script)^DIPSCRIPT^entry^-1
Remote IP Address^REMIP^entry^-1
Modem speed^SPEED^entry^-1
Phone number^PHONE^entry^-1
Login name^LOGIN^entry^-1
Password^PASSWORD^entry^-1
Maximum Transfer Unit^MTU^entry^-1
Connect string^CONNECT^entry^-1
Connection type (PPP)^CTYPE^entry^-1
Activate at boot^ONBOOT^checkbutton^-1
Restart PPP if it dies^DEDICATED^checkbutton^-1
>>>end>>>
