summaryrefslogtreecommitdiff
path: root/openwrt/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-03-26 01:14:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-03-26 01:14:33 +0000
commit4118e1fc1868cd8111bfc87fa62bcf2602f4b494 (patch)
tree79e95042a69a96c94169efca915b4ac3b6f6d06e /openwrt/target
parent5d45497dd8d562db14a756c8d2d22ffdd63000d8 (diff)
downloadmtk-20170518-4118e1fc1868cd8111bfc87fa62bcf2602f4b494.zip
mtk-20170518-4118e1fc1868cd8111bfc87fa62bcf2602f4b494.tar.gz
mtk-20170518-4118e1fc1868cd8111bfc87fa62bcf2602f4b494.tar.bz2
make pppoe work automatically
SVN-Revision: 459
Diffstat (limited to 'openwrt/target')
-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 6b4a774..f8e41ce 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)
;;