more reliable fix for handling ppp
[openwrt/staging/stintel.git] / package / base-files / files / etc / hotplug.d / net / 10-net
index 9b72338ce88ea51b34629667ace3b95f701d22c1..77eb6da9d4352a27abb400471e21f29efb97c970 100644 (file)
@@ -3,6 +3,11 @@
 include /lib/network
 
 addif() {
+       # PPP devices are configured by pppd, no need to run setup_interface here
+       case "$INTERFACE" in
+               ppp*) return 0;;
+       esac
+
        scan_interfaces
        local cfg="$(find_config "$INTERFACE")"