summaryrefslogtreecommitdiff
path: root/rules/50-udev-default.rules
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-04-24 19:12:44 +0200
committerKay Sievers <kay@vrfy.org>2013-04-24 19:20:51 +0200
commit2b3c81b02fa5dd47b19558c7684e113f36a48486 (patch)
treef4e9213422c15508b540275d6002d03691982842 /rules/50-udev-default.rules
parent83cb95b530ca5ae17bd9249774940840a4bbb667 (diff)
do not create /dev/rtc symlink, let systemd search for it if needed
The export of the RTCs hctosys flag is uneccesary, the kernel takes care of the persistemt clock management itself, without any need for: CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" "Chaotic hardware platforms" without native kernel persistent clock support will find the proper RTC with the logic rtc_open() without the need for a custom symlink.
Diffstat (limited to 'rules/50-udev-default.rules')
-rw-r--r--rules/50-udev-default.rules3
1 files changed, 0 insertions, 3 deletions
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
index 179065211a..234dc3b915 100644
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules
@@ -1,6 +1,5 @@
# do not edit this file, it will be overwritten on update
-SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
@@ -15,8 +14,6 @@ SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"
SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty"
KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout"
-SUBSYSTEM=="rtc", ATTR{hctosys}=="1", MODE="0644"
-
SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640"
SUBSYSTEM=="input", KERNEL=="mouse*|mice|event*", MODE="0640"