summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-02-03 22:34:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-02-03 22:34:30 +0000
commit79b22b246be6efabe66f10a74324e13109a954b9 (patch)
treee0021c9978bc6ff8b0dca141da13725d67db8ecd /package
parent1fd1ed7373959f08a4731e3bcda1420ab2de3ea8 (diff)
downloadmtk-20170518-79b22b246be6efabe66f10a74324e13109a954b9.zip
mtk-20170518-79b22b246be6efabe66f10a74324e13109a954b9.tar.gz
mtk-20170518-79b22b246be6efabe66f10a74324e13109a954b9.tar.bz2
base-files: make the skipping of ppp interfaces in 10-net hotplug more explicit, this allows users to rely on hotplug events for ppp0 .. ppp9 interfaces spawned by other programs
SVN-Revision: 25354
Diffstat (limited to 'package')
-rw-r--r--package/base-files/files/etc/hotplug.d/net/10-net2
1 files changed, 1 insertions, 1 deletions
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 0886c74..4744a1e 100644
--- a/package/base-files/files/etc/hotplug.d/net/10-net
+++ b/package/base-files/files/etc/hotplug.d/net/10-net
@@ -11,7 +11,7 @@ addif() {
# PPP devices are configured by pppd, no need to run setup_interface here
case "$INTERFACE" in
- ppp*|3g-*) return 0;;
+ 3g-*|ppp-*|pppoa-*|pppoe-*|pptp-*) return 0;;
ath*) return 0;;
wlan*) return 0;;
esac