diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2005-07-02 22:29:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-02 23:50:48 -0700 |
commit | 66f74a2d1411e9761ac90c5a2f81d70b22ec936d (patch) | |
tree | 5c76666b713b93418f274b28cb921e7abae42ce1 | |
parent | Fix the gentoo udev rules to allow the box to boot properly (diff) | |
download | eudev-66f74a2d1411e9761ac90c5a2f81d70b22ec936d.tar.gz eudev-66f74a2d1411e9761ac90c5a2f81d70b22ec936d.tar.bz2 eudev-66f74a2d1411e9761ac90c5a2f81d70b22ec936d.zip |
[PATCH] Keep udevstart from skipping devices without a 'dev' file
-rw-r--r-- | udevstart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udevstart.c b/udevstart.c index 4e922bb71..22b781d52 100644 --- a/udevstart.c +++ b/udevstart.c @@ -135,7 +135,7 @@ static int add_device(const char *path, const char *subsystem) udev_init_device(&udev, devpath, subsystem, "add"); udev.devt = get_devt(class_dev); - if (!udev.devt) { + if (!udev.devt && udev.type != DEV_NET) { dbg("sysfs_open_class_device_path failed"); return -1; } @@ -337,7 +337,7 @@ int main(int argc, char *argv[], char *envp[]) { struct sigaction act; - logging_init("udev"); + logging_init("udevstart"); udev_init_config(); dbg("version %s", UDEV_VERSION); |