From fbdd77c254e9f3c2dfd2961ace4b06dbecb01088 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 23 Sep 2018 18:13:07 +0200 Subject: [PATCH] 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 --- src/udev/network-hotplug | 5 +++++ 1 file changed, 5 insertions(+) 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} -- 2.47.2