diff --git a/init.c b/init.c index add6175..a6fe608 100644 --- a/init.c +++ b/init.c @@ -421,11 +421,6 @@ int main(int argc, char **argv) if (mkdirs_dev(".initramfs", "pts", "shm", NULL) < 0) fatal("mkdir\n"); - if ((fd = open("/proc/sys/kernel/hotplug", O_WRONLY, 0)) < 0 || - write(fd, "\n", sizeof("\n")) < sizeof("\n")) - fatal("/proc/sys/kernel/hotplug\n"); - close(fd); - klogpid = doklog(); spawn_hook(init_top);