summaryrefslogtreecommitdiff
path: root/udev_start.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-23 04:47:06 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:35:00 -0700
commit69d2dbd66fdd52b5ebbc6545ef693fdd3f0638ec (patch)
tree46b75ea96ef125d0c50bc1957595d55e36f50d6a /udev_start.c
parent7a0643a93f53cd5e7a05ae3d0c384e9e3160a94f (diff)
[PATCH] export udev_log flag to the environment
Forked scripts and callouts may want to follow udev's configured behavior and log only if udev is logging itself.
Diffstat (limited to 'udev_start.c')
-rw-r--r--udev_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_start.c b/udev_start.c
index c1d877fb37..3e3062c019 100644
--- a/udev_start.c
+++ b/udev_start.c
@@ -291,7 +291,7 @@ int udev_start(void)
{
/* set environment for callouts and dev.d/ */
setenv("ACTION", "add", 1);
- setenv("UDEVSTART", "1", 1);
+ setenv("UDEV_START", "1", 1);
udev_scan_class();
udev_scan_block();