]> err.no Git - systemd/commitdiff
rules: rtc - create rtc compat link only for cmos type rtc
authorKay Sievers <kay.sievers@vrfy.org>
Sun, 21 Dec 2008 12:48:55 +0000 (13:48 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sun, 21 Dec 2008 12:48:55 +0000 (13:48 +0100)
rules/rules.d/50-udev-default.rules

index 45767991756250c124887b463787e46ccfe17faa..da8437e01f2a567bd4e295b9747e4ddc01df382e 100644 (file)
@@ -98,8 +98,7 @@ KERNEL=="microcode",          NAME="cpu/microcode", MODE="0600"
 
 # miscellaneous
 KERNEL=="fuse",                        MODE="0666"
-KERNEL=="rtc|rtc0",            MODE="0644"
-KERNEL=="rtc0",                        SYMLINK+="rtc"
+SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
 KERNEL=="auer[0-9]*",          NAME="usb/%k"
 KERNEL=="hw_random",           NAME="hwrng"
 KERNEL=="mmtimer",             MODE="0644"