mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
22 lines
700 B
Plaintext
22 lines
700 B
Plaintext
# /etc/udev/rules/95-udev-late.rules: device naming rules for udev
|
|
#
|
|
# Gentoo specific rules
|
|
#
|
|
# There are a number of modifiers that are allowed to be used in some of the
|
|
# fields. See the udev man page for a full description of them.
|
|
#
|
|
# Try not to modify this file, if you wish to change things, create a new rule
|
|
# file that can be run before this one.
|
|
#
|
|
|
|
# Activate our network if we can
|
|
SUBSYSTEM=="net", ACTION=="add", RUN+="net.sh %k start"
|
|
SUBSYSTEM=="net", ACTION=="remove", RUN+="net.sh %k stop"
|
|
|
|
# debug events to /events, but not on default udev_log="err"
|
|
ENV{UDEV_LOG}=="[4-9]", RUN+="eventrecorder.sh"
|
|
|
|
# event to be catched by udevmonitor
|
|
RUN+="socket:/org/kernel/udev/monitor"
|
|
|