diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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")) { |