chiark / gitweb /
udev: net_setup_link - export the .link filename applied to the link
authorTom Gundersen <teg@jklm.no>
Mon, 8 Sep 2014 12:00:58 +0000 (14:00 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 8 Sep 2014 13:09:07 +0000 (15:09 +0200)
src/udev/udev-builtin-net_setup_link.c

index 6207269..14351de 100644 (file)
@@ -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);