]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/udev/network-hotplug
hotplug: Ignore all PPP interfaces
[people/stevee/network.git] / src / udev / network-hotplug
index 2a2d3e1fdc95720cea6b0c9ad0ce52b68667c08c..f058dd7541f4653870e23cbddbf2dfeb4ef466b7 100644 (file)
@@ -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}