diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-10-13 22:56:11 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-10-13 22:56:11 +0000 |
commit | 60212983eee6fa075c664eef284a45c5c986bfa2 (patch) | |
tree | 87b7b66e7adc5ca32cd2f323bbd252599b422045 /init | |
parent | 926be4ee559342bfaea20fb0c5fdf5a8475428e0 (diff) | |
download | busybox-w32-60212983eee6fa075c664eef284a45c5c986bfa2.tar.gz busybox-w32-60212983eee6fa075c664eef284a45c5c986bfa2.tar.bz2 busybox-w32-60212983eee6fa075c664eef284a45c5c986bfa2.zip |
More stuff
git-svn-id: svn://busybox.net/trunk/busybox@26 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-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")) { |