From: Michael Tremer Date: Sun, 23 Sep 2018 16:13:07 +0000 (+0200) Subject: hotplug: Ignore all PPP interfaces X-Git-Tag: 010~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbdd77c254e9f3c2dfd2961ace4b06dbecb01088;p=network.git hotplug: Ignore all PPP interfaces Those will come up when a PPP session is being established with the pppoe-server. Signed-off-by: Michael Tremer --- diff --git a/src/udev/network-hotplug b/src/udev/network-hotplug index 2a2d3e1f..f058dd75 100644 --- a/src/udev/network-hotplug +++ b/src/udev/network-hotplug @@ -67,6 +67,11 @@ case "${SUBSYSTEM}" in if device_is_loopback ${INTERFACE}; then exit ${EXIT_OK} + # Skip all pppN interfaces (for pppoe-server) + elif device_is_ppp "${INTERFACE}" && [[ ${INTERFACE} =~ ^ppp[0-9]+$ ]]; then + log DEBUG "Ignoring PPP device" + exit ${EXIT_OK} + # Stop processing rules for wireless monitoring devices elif device_is_wireless_monitor ${INTERFACE}; then exit ${EXIT_OK}