summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-08 14:00:58 +0200
committerTom Gundersen <teg@jklm.no>2014-09-08 15:09:07 +0200
commitad6e5b348fa88f44d6cbfe7aabda7612a1d0463f (patch)
tree9e94c67fdc1f1eb8f9b483096e956c9812223516 /src/udev
parent373d9f173f910d547159917401c4b1f84af85736 (diff)
udev: net_setup_link - export the .link filename applied to the link
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-builtin-net_setup_link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udev/udev-builtin-net_setup_link.c b/src/udev/udev-builtin-net_setup_link.c
index 6207269ab9..14351de6a6 100644
--- a/src/udev/udev-builtin-net_setup_link.c
+++ b/src/udev/udev-builtin-net_setup_link.c
@@ -57,6 +57,8 @@ static int builtin_net_setup_link(struct udev_device *dev, int argc, char **argv
return EXIT_FAILURE;
}
+ udev_builtin_add_property(dev, test, "ID_NET_LINK_FILE", link->filename);
+
if (name)
udev_builtin_add_property(dev, test, "ID_NET_NAME", name);