aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-03-17 16:57:08 +0000
committerBill Nottingham <notting@redhat.com>2006-03-17 16:57:08 +0000
commit4fc1aa45b7f26bf9eda11e80d6614fb96c9e7355 (patch)
tree3bd7b4c2f69422f3637f80d974fad08f2ce126f7 /udev
parente610427d049989b94a29443d0c26ae657d420475 (diff)
downloadinitscripts-4fc1aa45b7f26bf9eda11e80d6614fb96c9e7355.tar
initscripts-4fc1aa45b7f26bf9eda11e80d6614fb96c9e7355.tar.gz
initscripts-4fc1aa45b7f26bf9eda11e80d6614fb96c9e7355.tar.bz2
initscripts-4fc1aa45b7f26bf9eda11e80d6614fb96c9e7355.tar.xz
initscripts-4fc1aa45b7f26bf9eda11e80d6614fb96c9e7355.zip
add a udev helper to do device renames on module load. Essentially,
it's network-functions rename_device ported to C, with locking added.
Diffstat (limited to 'udev')
-rw-r--r--udev/rules.d/60-net.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/rules.d/60-net.rules b/udev/rules.d/60-net.rules
index ca0b3967..872c7eed 100644
--- a/udev/rules.d/60-net.rules
+++ b/udev/rules.d/60-net.rules
@@ -1 +1,2 @@
+ACTION="add", SUBSYSTEM=="net", IMPORT{program}="/sbin/rename_device"
SUBSYSTEM=="net", RUN+="/etc/sysconfig/network-scripts/net.hotplug"