A few updates (including the cp fix the Craig has been looking for)
-Erik
diff --git a/init/init.c b/init/init.c
index 1837391..350ea62 100644
--- a/init/init.c
+++ b/init/init.c
@@ -242,6 +242,7 @@
int fd;
int tried_devcons = 0;
int tried_vtprimary = 0;
+ struct vt_stat vt;
struct serial_struct sr;
char *s;
@@ -264,8 +265,6 @@
}
#endif
else {
- struct vt_stat vt;
-
/* 2.2 kernels: identify the real console backend and try to use it */
if (ioctl(0, TIOCGSERIAL, &sr) == 0) {
/* this is a serial console */
@@ -951,3 +950,11 @@
sleep(1);
}
}
+
+/*
+Local Variables:
+c-file-style: "linux"
+c-basic-offset: 4
+tab-width: 4
+End:
+*/
diff --git a/init/reboot.c b/init/reboot.c
index ef2a848..f782fa1 100644
--- a/init/reboot.c
+++ b/init/reboot.c
@@ -29,3 +29,11 @@
/* don't assume init's pid == 1 */
exit(kill(findInitPid(), SIGINT));
}
+
+/*
+Local Variables:
+c-file-style: "linux"
+c-basic-offset: 4
+tab-width: 4
+End:
+*/