]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/udev/60-net.rules
Network: add macvtap mode
[ipfire-2.x.git] / config / udev / 60-net.rules
index 4f22a1e306ee105561c389fb1ded8c042275d69f..e031e7a1edcce7dce7f4f6afe039d87b30bedfad 100644 (file)
@@ -1,3 +1,10 @@
 # Call a script that checks for the right name of the new device.
 # If it matches the configuration it will be renamed accordingly.
 ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/network-hotplug-rename", RESULT=="?*", NAME="$result"
+
+# Call a script that will create all virtual devices for a parent device
+# that has just come up.
+ACTION=="add", SUBSYSTEM=="net", RUN+="/lib/udev/network-hotplug-vlan"
+
+# Call a script that will set up macvtap interfaces
+ACTION=="add", SUBSYSTEM=="net", RUN+="/lib/udev/network-hotplug-macvtap"