From 609fbd1a579f41a8cb6d1029aa5eb86477851d89 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 26 Mar 2005 01:14:33 +0000 Subject: make pppoe work automatically git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@459 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/default/target_skeleton/sbin/ifup | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'target/default/target_skeleton/sbin') diff --git a/target/default/target_skeleton/sbin/ifup b/target/default/target_skeleton/sbin/ifup index 6b4a7740b..f8e41ce8c 100755 --- a/target/default/target_skeleton/sbin/ifup +++ b/target/default/target_skeleton/sbin/ifup @@ -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) ;; -- cgit v1.2.3