chiark / gitweb /
rules: do not delete /lib/udev/devices/ nodes on "remove"
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 30 Aug 2007 12:14:54 +0000 (14:14 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 30 Aug 2007 12:14:54 +0000 (14:14 +0200)
etc/udev/rules.d/50-udev-default.rules

index f869f51..76f0976 100644 (file)
@@ -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"
+