1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-30 23:21:08 +03:00

update Gentoo rules

This commit is contained in:
Kay Sievers 2006-02-15 21:03:25 +01:00
parent bee6e24fa9
commit 515e50555c

View File

@ -22,8 +22,8 @@ KERNEL=="console", NAME="%k", GROUP="tty", MODE="0600"
KERNEL=="ptmx", NAME="%k", GROUP="tty", MODE="0666" KERNEL=="ptmx", NAME="%k", GROUP="tty", MODE="0666"
# tty devices # tty devices
KERNEL=="ttyS[0-9]*", NAME="tts/%n", SYMLINK+="%k", GROUP="tty" KERNEL=="ttyS[0-9]*", NAME="%k", SYMLINK="tts/%n", GROUP="tty"
KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="tty", MODE="0660" KERNEL=="ttyUSB[0-9]*", NAME="%k", SYMLINK="tts/USB%n", GROUP="tty", MODE="0660"
KERNEL=="ippp0", NAME="%k", GROUP="tty" KERNEL=="ippp0", NAME="%k", GROUP="tty"
KERNEL=="isdn*" NAME="%k", GROUP="tty" KERNEL=="isdn*" NAME="%k", GROUP="tty"
KERNEL=="dcbri*", NAME="%k", GROUP="tty" KERNEL=="dcbri*", NAME="%k", GROUP="tty"
@ -133,7 +133,7 @@ KERNEL=="dnrtmsg", NAME="netlink/%k"
KERNEL=="tap*", NAME="netlink/%k" KERNEL=="tap*", NAME="netlink/%k"
# network devices # network devices
KERNEL=="tun", NAME="net/%k" KERNEL=="tun", NAME="net/%k", MODE="0600"
# ramdisk devices # ramdisk devices
KERNEL=="ram[0-9]*", NAME="rd/%n", SYMLINK+="%k" KERNEL=="ram[0-9]*", NAME="rd/%n", SYMLINK+="%k"
@ -183,7 +183,7 @@ KERNEL=="vbi[0-9]*", NAME="v4l/vbi%n", SYMLINK+="vbi%n", GROUP="video"
KERNEL=="vtx[0-9]*", NAME="v4l/vtx%n", GROUP="video" KERNEL=="vtx[0-9]*", NAME="v4l/vtx%n", GROUP="video"
# dvb devices # dvb devices
SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%i $${K%%%%.*} $${K#*.}'", NAME="%c" SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="video"
# Asterisk Zaptel devices # Asterisk Zaptel devices
KERNEL=="zapctl", NAME="zap/ctl" KERNEL=="zapctl", NAME="zap/ctl"
@ -210,6 +210,7 @@ KERNEL=="lp*", NAME="%k", GROUP="lp"
KERNEL=="irlpt", NAME="%k", GROUP="lp" KERNEL=="irlpt", NAME="%k", GROUP="lp"
KERNEL=="usblp", NAME="%k", GROUP="lp" KERNEL=="usblp", NAME="%k", GROUP="lp"
KERNEL=="lp*", NAME="%k", GROUP="lp" KERNEL=="lp*", NAME="%k", GROUP="lp"
KERNEL=="parport*", NAME="%k", GROUP="lp"
# tape devices # tape devices
KERNEL=="ht*", NAME="%k", GROUP="tape" KERNEL=="ht*", NAME="%k", GROUP="tape"
@ -299,10 +300,10 @@ SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/u
# be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/ systems # be backward compatible for a while with the /etc/dev.d and /etc/hotplug.d/ systems
# run /etc/hotplug.d/ stuff only if we came from a hotplug event, not for udevstart # run /etc/hotplug.d/ stuff only if we came from a hotplug event, not for udevstart
ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd" ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd $env{SUBSYSTEM}"
# always run /etc/dev.d/ stuff for now. # always run /etc/dev.d/ stuff for now.
RUN+="/sbin/udev_run_devd" RUN+="/sbin/udev_run_devd $env{SUBSYSTEM}"
# debugging monitor # debugging monitor
RUN+="socket:/org/kernel/udev/monitor" RUN+="socket:/org/kernel/udev/monitor"