aboutsummaryrefslogtreecommitdiffstats
path: root/udev/rules.d/60-net.rules
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-10-05 17:57:44 +0000
committerBill Nottingham <notting@redhat.com>2007-10-05 17:57:44 +0000
commit3e634c64683b759a68388b62337fb3c5547faa52 (patch)
treef521e347520845282abf3c531e0ffde390a17c63 /udev/rules.d/60-net.rules
parent35b965fc7c9afd05515869345eb44f2b851fdd00 (diff)
downloadinitscripts-3e634c64683b759a68388b62337fb3c5547faa52.tar
initscripts-3e634c64683b759a68388b62337fb3c5547faa52.tar.gz
initscripts-3e634c64683b759a68388b62337fb3c5547faa52.tar.bz2
initscripts-3e634c64683b759a68388b62337fb3c5547faa52.tar.xz
initscripts-3e634c64683b759a68388b62337fb3c5547faa52.zip
just suggest an interface name, don't do actual renaming
Diffstat (limited to 'udev/rules.d/60-net.rules')
-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"