kernel: add md5sum of kernel
[openwrt.git] / package / ppp / files / pppoe.sh
index f33d37a..bbd36a1 100644 (file)
@@ -1,5 +1,5 @@
-scan_pppoe() {
-       scan_ppp "$@"
+stop_interface_pppoe() {
+       stop_interface_ppp "$1"
 }
 
 setup_interface_pppoe() {
 }
 
 setup_interface_pppoe() {
@@ -10,12 +10,7 @@ setup_interface_pppoe() {
                /sbin/insmod $module 2>&- >&-
        done
 
                /sbin/insmod $module 2>&- >&-
        done
 
-       # make sure the network state references the correct ifname
-       scan_ppp "$config"
-       config_get ifname "$config" ifname
-       uci set "/var/state/network.$config.ifname=$ifname"
-
-       config_get mtu "$cfg" mtu
+       config_get mtu "$config" mtu
        mtu=${mtu:-1492}
        start_pppd "$config" \
                plugin rp-pppoe.so \
        mtu=${mtu:-1492}
        start_pppd "$config" \
                plugin rp-pppoe.so \
This page took 0.020716 seconds and 4 git commands to generate.