diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/eudev.xml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 0cbd6db36..e224a40d0 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -86,10 +86,30 @@ mkdir -pv /etc/udev/rules.d</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> -<para>Finally, install the man pages:</para> +<para>Now, install the man pages:</para> <screen><userinput remap="install">tar -xvf ../eudev-1.5.1-manpages.tar.bz2 -C /usr/share</userinput></screen> + <para>Finally, create some custom rules that are not covered as a part of the + defaults:</para> + +<screen><userinput remap="install">cat > /etc/udev/rules.d/55-lfs.rules << "EOF" +# /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" +EOF</userinput></screen> + </sect2> <sect2 id="contents-eudev" role="content"> |