summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-08-30 14:14:54 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-08-30 14:14:54 +0200
commitb5bc27029a82ff37c36f6e9d06f23c3005fe3382 (patch)
tree026c815d1b4da59933c2db67b35661fd1eb32d07 /etc
parenta506e6298cffed4576f9cea8df15b2f8945fc731 (diff)
rules: do not delete /lib/udev/devices/ nodes on "remove"
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/rules.d/50-udev-default.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/rules.d/50-udev-default.rules b/etc/udev/rules.d/50-udev-default.rules
index f869f51550..76f0976c95 100644
--- a/etc/udev/rules.d/50-udev-default.rules
+++ b/etc/udev/rules.d/50-udev-default.rules
@@ -101,3 +101,6 @@ KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k"
KERNEL=="rioctl", NAME="specialix_rioctl", SYMLINK+="%k"
KERNEL=="iowarrior[0-9]*", NAME="usb/%k"
+# do not delete static device nodes
+ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", OPTIONS+="ignore_remove"
+