aboutsummaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-20 05:42:57 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-20 05:42:57 +0000
commitf435a918fab2a315981c185a3135b97388b572c4 (patch)
treec2ea132bf26288fca6b65e7fe88fd605fda46843 /init/init.c
parent81ee96fe62916e9bd571cf3456d87cb1bba4c210 (diff)
downloadbusybox-f435a918fab2a315981c185a3135b97388b572c4.tar.gz
S390 wierdness
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 118ab327a..943db5261 100644
--- a/init/init.c
+++ b/init/init.c
@@ -685,9 +685,15 @@ static void halt_signal(int sig)
{
shutdown_system();
message(CONSOLE|LOG,
+#if #cpu(s390)
+ /* Seems the s390 console is Wierd(tm). */
+ "The system is halted. You may reboot now.\n",
+#else
+ /* secondConsole is NULL for a serial console */
"The system is halted. Press %s or turn off power\n",
- (secondConsole == NULL) /* serial console */
- ? "Reset" : "CTRL-ALT-DEL");
+ (secondConsole == NULL)? "Reset" : "CTRL-ALT-DEL"
+#endif
+ );
sync();
/* allow time for last message to reach serial console */