E.1. 55-lfs.rules

#### Linux From Scratch - Version 7.10-rc1

### Appendix E. Udev configuration rules

- Prev

  Udev configuration rules

- Next

  LFS Licenses

- Up
- Home

# E.1. 55-lfs.rules

    # /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"

- Prev

  Udev configuration rules

- Next

  LFS Licenses

- Up
- Home