xSmurf
public text v1 · immutable$ cat /etc/ppp/ip-up
#! /bin/sh
if [ $1 == "pppoe0" ]; then
/sbin/route add default $5
fi
/etc/rc.d/ntpd restart
/etc/rc.d/named restart
/etc/rc.d/rinetd restart
/sbin/ipf -y
if [ $1 == "pppoe0" ]; then
/usr/pkg/bin/ez-ipupdate -c /usr/pkg/etc/ez-ipupdate.pppoe0
fi
if [ $1 == "pppoe1" ]; then
/usr/pkg/bin/ez-ipupdate -c /usr/pkg/etc/ez-ipupdate.pppoe1
fi