diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-10-13 22:56:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-10-13 22:56:11 +0000 |
commit | 2c1030177e0a6f849ba557400e3e4867de455ce9 (patch) | |
tree | 87b7b66e7adc5ca32cd2f323bbd252599b422045 /init/init.c | |
parent | f6be944a6ae612c70ce010582d9c3cdd72f7144f (diff) | |
download | busybox-w32-2c1030177e0a6f849ba557400e3e4867de455ce9.tar.gz busybox-w32-2c1030177e0a6f849ba557400e3e4867de455ce9.tar.bz2 busybox-w32-2c1030177e0a6f849ba557400e3e4867de455ce9.zip |
More stuff
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c index 4771722b9..2860272f9 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -249,7 +249,7 @@ void | |||
249 | configure_terminals( int serial_cons ); | 249 | configure_terminals( int serial_cons ); |
250 | 250 | ||
251 | extern int | 251 | extern int |
252 | init_main(struct FileInfo * i, int argc, char * * argv) | 252 | init_main(int argc, char * * argv) |
253 | { | 253 | { |
254 | static const char * const rc = "etc/rc"; | 254 | static const char * const rc = "etc/rc"; |
255 | const char * arguments[100]; | 255 | const char * arguments[100]; |
@@ -370,8 +370,10 @@ Read the instructions in the install.html file. | |||
370 | } | 370 | } |
371 | arguments[j] = 0; | 371 | arguments[j] = 0; |
372 | 372 | ||
373 | if ( run_rc ) | 373 | if ( run_rc ) { |
374 | printf("running %s\n",rc); | ||
374 | waitfor(run(rc, arguments, console, 0)); | 375 | waitfor(run(rc, arguments, console, 0)); |
376 | } | ||
375 | 377 | ||
376 | if ( 0 == create_swap) { | 378 | if ( 0 == create_swap) { |
377 | if (unlink("/etc/swappartition")) { | 379 | if (unlink("/etc/swappartition")) { |