summaryrefslogtreecommitdiff
path: root/package/ppp/files/pppoe.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-06 17:36:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-06 17:36:01 +0000
commit488d168c256a76dc96d05b93affc2a466dac99ff (patch)
tree7cd38a6484d873d8316b13704547d79845f4e734 /package/ppp/files/pppoe.sh
parent3b61c2c2b161f082bc2ff06a6666f1d32bed667f (diff)
downloadmtk-20170518-488d168c256a76dc96d05b93affc2a466dac99ff.zip
mtk-20170518-488d168c256a76dc96d05b93affc2a466dac99ff.tar.gz
mtk-20170518-488d168c256a76dc96d05b93affc2a466dac99ff.tar.bz2
move ppp ifname fixup from pppoe.sh to ppp.sh, so that it applies to all other ppp based protocols as well
SVN-Revision: 17529
Diffstat (limited to 'package/ppp/files/pppoe.sh')
-rw-r--r--package/ppp/files/pppoe.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh
index c0bb515..74f1a85 100644
--- a/package/ppp/files/pppoe.sh
+++ b/package/ppp/files/pppoe.sh
@@ -10,11 +10,6 @@ setup_interface_pppoe() {
/sbin/insmod $module 2>&- >&-
done
- # make sure the network state references the correct ifname
- scan_ppp "$config"
- config_get ifname "$config" ifname
- set_interface_ifname "$config" "$ifname"
-
config_get mtu "$config" mtu
mtu=${mtu:-1492}
start_pppd "$config" \