summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton/sbin/ifup
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 01:14:33 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 01:14:33 +0000
commitf26476c862bc76370a3884555d8677c9886eb792 (patch)
tree79e95042a69a96c94169efca915b4ac3b6f6d06e /openwrt/target/default/target_skeleton/sbin/ifup
parentacdab5cc42c8278a01b1e1ddbf25a34160778480 (diff)
make pppoe work automatically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@459 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/sbin/ifup')
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/ifup7
1 files changed, 4 insertions, 3 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/ifup b/openwrt/target/default/target_skeleton/sbin/ifup
index 6b4a7740be..f8e41ce8ce 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)
;;