summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-12-16 21:16:32 +0100
committerKay Sievers <kay.sievers@suse.de>2005-12-16 21:16:32 +0100
commitc602535043cbe74dfdcc5f2926e8518237602694 (patch)
treed53ff3089d8d23950701f193e22aead65c25a7ea
parent632b682b2a1b4b71500a633369668b0cc7379bcd (diff)
remove default settings in udev.conf
Changing the default values in udev.conf will render allmost all current systems unusable. So just remove the settings that can't be changed anyway. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rw-r--r--etc/udev/udev.conf.in6
-rw-r--r--udev_add.c3
2 files changed, 1 insertions, 8 deletions
diff --git a/etc/udev/udev.conf.in b/etc/udev/udev.conf.in
index a92f688c3a..41902c4f06 100644
--- a/etc/udev/udev.conf.in
+++ b/etc/udev/udev.conf.in
@@ -1,11 +1,5 @@
# udev.conf
-# Where in the filesystem to place the device nodes.
-udev_root="@udevdir@"
-
-# The name and location of the udev rules file(s).
-udev_rules="@configdir@/rules.d"
-
# The initial syslog(3) priority: "err", "info", "debug" or its
# numerical equivalent. For runtime debugging, the daemons internal
# state can be changed with: "udevcontrol log_priority=<value>".
diff --git a/udev_add.c b/udev_add.c
index 128917e519..174474bdc7 100644
--- a/udev_add.c
+++ b/udev_add.c
@@ -272,8 +272,7 @@ int udev_add_device(struct udevice *udev, struct sysfs_class_device *class_dev)
goto exit;
if (udev_db_add_device(udev) != 0)
- dbg("udev_db_add_dev failed, but we create the node anyway, "
- "remove might not work for custom names");
+ dbg("udev_db_add_dev failed, remove might not work for custom names");
/* use full path to the environment */
snprintf(udev->devname, sizeof(udev->devname), "%s/%s", udev_root, udev->name);