make pppoe work automatically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@459 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2005-03-26 01:14:33 +00:00
parent 813ce763a6
commit 7446f1bc47
4 changed files with 31 additions and 4 deletions

View File

@@ -58,10 +58,11 @@
idletime=$(nvram get ppp_idletime)
mtu=$(nvram get wan_mtu)
$DEBUG ifconfig $if 0.0.0.0 up
# handled by /etc/init.d/S50pppoe
# $DEBUG ifconfig $if 0.0.0.0 up
$DEBUG /sbin/pppoecd $if -u $username -p $password \
-i 0 -I $redial -T $idletime -t $mtu -k
# $DEBUG /sbin/pppoecd $if -u $username -p $password \
# -i 0 -I $redial -T $idletime -t $mtu -k
;;
none)
;;