projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more reliable fix for handling ppp
[openwrt/staging/stintel.git]
/
package
/
base-files
/
files
/
etc
/
hotplug.d
/
net
/
10-net
diff --git
a/package/base-files/files/etc/hotplug.d/net/10-net
b/package/base-files/files/etc/hotplug.d/net/10-net
index 9b72338ce88ea51b34629667ace3b95f701d22c1..77eb6da9d4352a27abb400471e21f29efb97c970 100644
(file)
--- a/
package/base-files/files/etc/hotplug.d/net/10-net
+++ b/
package/base-files/files/etc/hotplug.d/net/10-net
@@
-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")"