diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 | ||
530 | void delete_initAction (initAction *action) | 530 | void 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 | * */ |
549 | void parse_inittab(void) | 549 | void parse_inittab(void) |
550 | { | 550 | { |