summaryrefslogtreecommitdiff
path: root/data/90-nm-thunderbolt.rules
blob: 52d8bb410f5b5aa784a8c0874134f60cb212fc97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Do not modify this file, it will get overwritten on updates.
# To override or extend the rules place a file in /etc/udev/rules.d

ACTION!="add", GOTO="nm_thunderbolt_end"

# Load he thunderbolt-net driver if we a device of type thunderbolt_xdomain
# is added.
SUBSYSTEM=="thunderbolt", ENV{DEVTYPE}=="thunderbolt_xdomain", RUN{builtin}+="kmod load thunderbolt-net"

# For all thunderbolt network devices, we want to enable link-local configuration
SUBSYSTEM=="net", ENV{ID_NET_DRIVER}=="thunderbolt-net", ENV{NM_AUTO_DEFAULT_LINK_LOCAL_ONLY}="1"

LABEL="nm_thunderbolt_end"