aboutsummaryrefslogtreecommitdiffstats
path: root/udev-lfs/55-lfs.rules
diff options
context:
space:
mode:
Diffstat (limited to 'udev-lfs/55-lfs.rules')
-rw-r--r--udev-lfs/55-lfs.rules14
1 files changed, 14 insertions, 0 deletions
diff --git a/udev-lfs/55-lfs.rules b/udev-lfs/55-lfs.rules
new file mode 100644
index 000000000..34229ea2c
--- /dev/null
+++ b/udev-lfs/55-lfs.rules
@@ -0,0 +1,14 @@
+# /etc/udev/rules.d/55-lfs.rules: Rule definitions for LFS.
+
+# Core kernel devices
+
+# This causes the system clock to be set as soon as /dev/rtc becomes available.
+SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
+KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
+
+# Comms devices
+
+KERNEL=="ippp[0-9]*", GROUP="dialout"
+KERNEL=="isdn[0-9]*", GROUP="dialout"
+KERNEL=="isdnctrl[0-9]*", GROUP="dialout"
+KERNEL=="dcbri[0-9]*", GROUP="dialout"