1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-30 23:21:08 +03:00

[PATCH] Keep udevstart from skipping devices without a 'dev' file

This commit is contained in:
Kay Sievers 2005-07-02 22:29:46 +02:00 committed by Greg Kroah-Hartman
parent 1fcc2a36fd
commit 66f74a2d14

View File

@ -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);