summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-16 15:48:40 +0000
committerEric Andersen1999-10-16 15:48:40 +0000
commitcb6e25655f894c90e4befc4bee0e66794dd6858f (patch)
treee98863094266c328ffebe2920d0aead3c52cc121 /init.c
parent3c163822d88105450806fdb6a29fdfc2511267d1 (diff)
downloadbusybox-cb6e25655f894c90e4befc4bee0e66794dd6858f.zip
busybox-cb6e25655f894c90e4befc4bee0e66794dd6858f.tar.gz
More stuff
Diffstat (limited to 'init.c')
-rw-r--r--init.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/init.c b/init.c
index 19cbec1..ade29c7 100644
--- a/init.c
+++ b/init.c
@@ -99,7 +99,7 @@ run(const char* program, const char* const* arguments,
};
static const char press_enter[] =
- "Please press Enter to activate this console. ";
+ "\nPlease press Enter to activate this console. ";
int pid;
@@ -388,13 +388,8 @@ init_main(int argc, char * * argv)
arguments[j] = 0;
if ( run_rc ) {
- printf("running %s with args \"",rc);
- for ( j = 0; j < argc; j++ ) {
- printf("%s ", arguments[j]);
- }
- printf("\" on console %s\n", console);
- waitfor(run(rc, arguments, console, 0));
- printf("done.\n");
+ run(rc, arguments, console, 0);
+ //waitfor(run(rc, arguments, console, 0));
}
if ( 0 == create_swap) {
@@ -414,19 +409,9 @@ init_main(int argc, char * * argv)
/*
arguments[0] = tty_commands[0];
*/
- printf("running %s with args \"",tty_commands[0]);
- for ( j = 0; j < argc; j++ ) {
- printf("%s ", arguments[j]);
- }
- printf("\" on console %s\n", first_terminal);
pid1 = run(tty_commands[0], arguments, first_terminal, 1);
}
if ( pid2 == 0 && tty_commands[1] ) {
- printf("running %s with args \"",tty_commands[0]);
- for ( j = 0; j < argc; j++ ) {
- printf("%s ", arguments[j]);
- }
- printf("\" on console %s\n", first_terminal);
pid2 = run(tty_commands[1], arguments, second_terminal, 1);
}
wpid = wait(&status);