r1712
stsp at dslinux.in-berlin.de
stsp at dslinux.in-berlin.de
Sun Apr 15 12:27:24 CEST 2007
Author: stsp
Date: 2007-04-15 12:27:19 +0200 (Sun, 15 Apr 2007)
New Revision: 1712
Log:
Make busybox init work. This is not currently being used,
but there's no harm in fixing it nonetheless.
Modified: trunk/user/busybox/init/init.c
===================================================================
--- trunk/user/busybox/init/init.c 2007-04-15 10:24:57 UTC (rev 1711)
+++ trunk/user/busybox/init/init.c 2007-04-15 10:27:19 UTC (rev 1712)
@@ -117,7 +117,7 @@
#define CONFIG_INITTAB "/etc/config/inittab"
#endif
#ifndef INIT_SCRIPT
-#define INIT_SCRIPT "/etc/init.d/rcS" /* Default sysinit script. */
+#define INIT_SCRIPT "/boot/rc" /* Default sysinit script. */
#endif
#define TESTTIME 90 /* Threshold for detecting "fast" spawning processes */
@@ -634,7 +634,7 @@
#endif
/* Log the process name and args */
- message(LOG, "Starting pid %d, console %s: '%s'",
+ messageD(LOG, "Starting pid %d, console %s: '%s'",
getpid(), a->terminal, cmdpath);
#if defined CONFIG_FEATURE_INIT_COREDUMPS
@@ -1246,7 +1246,7 @@
putenv((char *) *e);
}
/* Hello world */
- message(MAYBE_CONSOLE | LOG, "init started: %s", bb_msg_full_version);
+ messageD(MAYBE_CONSOLE | LOG, "init started: %s", bb_msg_full_version);
/* Make sure there is enough memory to do something useful. */
check_memory();
More information about the dslinux-commit
mailing list