aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-01-07 18:30:40 +0000
committerErik Andersen <andersen@codepoet.org>2000-01-07 18:30:40 +0000
commit812d46667d8f558f58f1e668169d359b1203c5ef (patch)
tree2c6d50a4c7a33431a288fb523622d2e311663438 /init
parent96e2abd0849c1980dad10013ef0d17027554ef9f (diff)
downloadbusybox-w32-812d46667d8f558f58f1e668169d359b1203c5ef.tar.gz
busybox-w32-812d46667d8f558f58f1e668169d359b1203c5ef.tar.bz2
busybox-w32-812d46667d8f558f58f1e668169d359b1203c5ef.zip
More minor fixes.
-Erik
Diffstat (limited to 'init')
-rw-r--r--init/init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/init/init.c b/init/init.c
index 88b8ed1c1..9c7710de8 100644
--- a/init/init.c
+++ b/init/init.c
@@ -312,7 +312,7 @@ static void console_init()
312 /* check for serial console and disable logging to tty3 & running a 312 /* check for serial console and disable logging to tty3 & running a
313 * shell to tty2 */ 313 * shell to tty2 */
314 if (ioctl(0,TIOCGSERIAL,&sr) == 0) { 314 if (ioctl(0,TIOCGSERIAL,&sr) == 0) {
315 message(LOG|CONSOLE, "serial console detected. Disabling 2nd virtual terminal.\r\n", console ); 315 message(LOG|CONSOLE, "serial console detected. Disabling virtual terminals.\r\n", console );
316 log = NULL; 316 log = NULL;
317 second_console = NULL; 317 second_console = NULL;
318 } 318 }
@@ -523,8 +523,8 @@ void new_initAction (initActionEnum action,
523 } else 523 } else
524 strncpy(newAction->console, console, 255); 524 strncpy(newAction->console, console, 255);
525 newAction->pid = 0; 525 newAction->pid = 0;
526 message(LOG|CONSOLE, "process='%s' action='%d' console='%s'\n", 526// message(LOG|CONSOLE, "process='%s' action='%d' console='%s'\n",
527 newAction->process, newAction->action, newAction->console); 527// newAction->process, newAction->action, newAction->console);
528} 528}
529 529
530void delete_initAction (initAction *action) 530void delete_initAction (initAction *action)
@@ -542,9 +542,9 @@ void delete_initAction (initAction *action)
542/* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined, 542/* NOTE that if BB_FEATURE_USE_INITTAB is NOT defined,
543 * then parse_inittab() simply adds in some default 543 * then parse_inittab() simply adds in some default
544 * actions(i.e runs INIT_SCRIPT and then starts a pair 544 * actions(i.e runs INIT_SCRIPT and then starts a pair
545 * of "askfirst" shells. If BB_FEATURE_USE_INITTAB 545 * of "askfirst" shells). If BB_FEATURE_USE_INITTAB
546 * _is_ defined, but /etc/inittab is missing == same 546 * _is_ defined, but /etc/inittab is missing, this
547 * default behavior. 547 * results in the same set of default behaviors.
548 * */ 548 * */
549void parse_inittab(void) 549void parse_inittab(void)
550{ 550{