aboutsummaryrefslogtreecommitdiffstats
path: root/udev-lfs/55-lfs.rules
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-01 02:31:13 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-01 02:31:13 +0000
commitb2b1e1aa5fe437877a7ec9f7d861e215c956ebb9 (patch)
treee79563b34728d0e475dbf5d73da4e5cd1a278de6 /udev-lfs/55-lfs.rules
parent166497f2c69435a594f9992ad55857112eb44127 (diff)
Move directory to make build easier
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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"