summaryrefslogtreecommitdiff
path: root/etc/udev/gentoo/95-udev-late.rules
blob: 40ada28b14ff284e63168f172fd8c7a2600dafe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# /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"

# event to be catched by udevmonitor
RUN+="socket:/org/kernel/udev/monitor"