aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/rules.d/60-net.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/rules.d/60-net.rules b/udev/rules.d/60-net.rules
index e023edad..718ad5d9 100644
--- a/udev/rules.d/60-net.rules
+++ b/udev/rules.d/60-net.rules
@@ -1,2 +1,2 @@
-ACTION=="add", SUBSYSTEM=="net", IMPORT{program}="/lib/udev/rename_device"
+ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/rename_device", RESULT=="?*", ENV{INTERFACE_NAME}="$result"
SUBSYSTEM=="net", RUN+="/etc/sysconfig/network-scripts/net.hotplug"