summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen1999-10-13 22:56:11 +0000
committerEric Andersen1999-10-13 22:56:11 +0000
commit2c1030177e0a6f849ba557400e3e4867de455ce9 (patch)
tree87b7b66e7adc5ca32cd2f323bbd252599b422045 /init
parentf6be944a6ae612c70ce010582d9c3cdd72f7144f (diff)
downloadbusybox-2c1030177e0a6f849ba557400e3e4867de455ce9.zip
busybox-2c1030177e0a6f849ba557400e3e4867de455ce9.tar.gz
More stuff
Diffstat (limited to 'init')
-rw-r--r--init/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 4771722..2860272 100644
--- a/init/init.c
+++ b/init/init.c
@@ -249,7 +249,7 @@ void
configure_terminals( int serial_cons );
extern int
-init_main(struct FileInfo * i, int argc, char * * argv)
+init_main(int argc, char * * argv)
{
static const char * const rc = "etc/rc";
const char * arguments[100];
@@ -370,8 +370,10 @@ Read the instructions in the install.html file.
}
arguments[j] = 0;
- if ( run_rc )
+ if ( run_rc ) {
+ printf("running %s\n",rc);
waitfor(run(rc, arguments, console, 0));
+ }
if ( 0 == create_swap) {
if (unlink("/etc/swappartition")) {