SUBSYSTEM!="net", GOTO="mdv_net_end" ENV{INTERFACE}=="", GOTO="mdv_net_end" # if NAME has been set, the interface already has a persistent name ACTION=="add", NAME=="?*", SYSFS{address}=="?*", PROGRAM="/bin/flock /dev/.udev/.lockf-net /lib64/udev/net_name_helper %s{address}", NAME="%c" ACTION=="add", RUN+="net_create_ifcfg" ACTION=="add|remove", RUN+="net_action" LABEL="mdv_net_end"