From: Kay Sievers Date: Sun, 21 Dec 2008 12:48:55 +0000 (+0100) Subject: rules: rtc - create rtc compat link only for cmos type rtc X-Git-Tag: 174~1247 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0bbea669698e474f5ec00c2ed6b4f10261a345d;p=systemd rules: rtc - create rtc compat link only for cmos type rtc --- diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index 45767991..da8437e0 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -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"