From f26476c862bc76370a3884555d8677c9886eb792 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@459 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/default/target_skeleton/sbin/ifup | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'openwrt/target/default/target_skeleton/sbin') diff --git a/openwrt/target/default/target_skeleton/sbin/ifup b/openwrt/target/default/target_skeleton/sbin/ifup index 6b4a7740b..f8e41ce8c 100755 --- a/openwrt/target/default/target_skeleton/sbin/ifup +++ b/openwrt/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