]> err.no Git - systemd/commitdiff
rules: rtc - point /dev/rtc symlink to 'hctosys' device
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 21 Jan 2012 01:56:32 +0000 (02:56 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 21 Jan 2012 01:56:32 +0000 (02:56 +0100)
rules/rules.d/50-udev-default.rules

index 3744707909468d7f577b96a3304d264fc61f3657..5ad787fc764594e2999809fee105dde416a3d6e5 100644 (file)
@@ -99,7 +99,7 @@ KERNEL=="cpu[0-9]*", MODE="0444"
 
 KERNEL=="fuse", ACTION=="add", MODE="0666", OPTIONS+="static_node=fuse"
 
-SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
+SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
 KERNEL=="mmtimer", MODE="0644"
 KERNEL=="rflash[0-9]*", MODE="0400"
 KERNEL=="rrom[0-9]*", MODE="0400"