chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] netdev - udevdb+dev.d changes
[elogind.git]
/
udev_config.c
diff --git
a/udev_config.c
b/udev_config.c
index 57a512d711464f1dd32ef52ecfa005cb283d3a23..fe26850a87f69e7cc5e2036ba44c2d58c4217f89 100644
(file)
--- 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;
char default_group_str[GROUP_SIZE];
int udev_log;
int udev_sleep;
+int udev_dev_d;
static int string_is_true(char *str)
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_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) \
}
#define set_var(_name, _var) \