- /* fill up the defaults.
- * If any config values are specified, they will
- * override these values. */
- strfieldcpy(udev_root, UDEV_ROOT);
- strfieldcpy(udev_db_filename, UDEV_DB);
- strfieldcpy(udev_config_filename, UDEV_CONFIG_FILE);
- strfieldcpy(udev_rules_filename, UDEV_RULES_FILE);
- strfieldcpy(udev_permissions_filename, UDEV_PERMISSION_FILE);
- udev_log = string_is_true(UDEV_LOG_DEFAULT);
-
- udev_sleep = 1;
- if (getenv("UDEV_NO_SLEEP") != NULL)
- udev_sleep = 0;
-}
-
-#define set_var(_name, _var) \
- if (strcasecmp(variable, _name) == 0) { \
- dbg_parse("%s = '%s'", _name, value); \
- strncpy(_var, value, sizeof(_var)); \
- }