From e152ec7bf4ba252ff9d3eb13eabd417b931dac9a Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Mon, 24 Sep 2018 09:29:55 +0100 Subject: Import Upstream version 1.12.2 --- data/90-nm-thunderbolt.rules | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 data/90-nm-thunderbolt.rules (limited to 'data/90-nm-thunderbolt.rules') diff --git a/data/90-nm-thunderbolt.rules b/data/90-nm-thunderbolt.rules new file mode 100644 index 00000000..52d8bb41 --- /dev/null +++ b/data/90-nm-thunderbolt.rules @@ -0,0 +1,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" -- cgit 1.3.0-6-gf8a5