diff options
Diffstat (limited to 'udev_start.c')
-rw-r--r-- | udev_start.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_start.c b/udev_start.c index 129af4291a..1a86163cd5 100644 --- a/udev_start.c +++ b/udev_start.c @@ -109,7 +109,7 @@ static int add_device(char *devpath, char *subsystem) udev_add_device(&udev, class_dev); /* run dev.d/ scripts if we created a node or changed a netif name */ - if (udev.devname[0] != '\0') { + if (udev_dev_d && udev.devname[0] != '\0') { setenv("DEVNAME", udev.devname, 1); udev_multiplex_directory(&udev, DEVD_DIR, DEVD_SUFFIX); } |