diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-26 01:14:33 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-26 01:14:33 +0000 |
commit | f26476c862bc76370a3884555d8677c9886eb792 (patch) | |
tree | 79e95042a69a96c94169efca915b4ac3b6f6d06e /openwrt/target/default/target_skeleton/sbin/ifup | |
parent | acdab5cc42c8278a01b1e1ddbf25a34160778480 (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-x | openwrt/target/default/target_skeleton/sbin/ifup | 7 |
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 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) ;; |