X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev_config.c;h=fe26850a87f69e7cc5e2036ba44c2d58c4217f89;hp=57a512d711464f1dd32ef52ecfa005cb283d3a23;hb=bbbe503ec1a5623a5a8abd003f46fdd8c3581054;hpb=e5a2989efbae81f40b60885a8f92ea1f87df7ea9 diff --git a/udev_config.c b/udev_config.c index 57a512d71..fe26850a8 100644 --- a/udev_config.c +++ b/udev_config.c @@ -51,6 +51,7 @@ char default_owner_str[OWNER_SIZE]; char default_group_str[GROUP_SIZE]; int udev_log; int udev_sleep; +int udev_dev_d; static int string_is_true(char *str) @@ -77,6 +78,10 @@ static void init_variables(void) udev_sleep = 1; if (getenv("UDEV_NO_SLEEP") != NULL) udev_sleep = 0; + + udev_dev_d = 1; + if (getenv("UDEV_NO_DEVD") != NULL) + udev_dev_d = 0; } #define set_var(_name, _var) \