X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=rcS.c;h=8c72c194614809d98b09fe9ad6ccf30f64ebe64b;hp=45456215af023d67edb10ed715ec296f3f9a250b;hb=4bccbfa967d756b8c84a62ea4752e936d8545a73;hpb=81c9904b57d3aed01ca6d4ad027d6fc29f7fbc93 diff --git a/rcS.c b/rcS.c index 4545621..8c72c19 100644 --- a/rcS.c +++ b/rcS.c @@ -55,6 +55,9 @@ static void pipe_cb(struct ustream *s, int bytes) *newline = 0; len = newline + 1 - str; syslog(0, "%s", str); +#ifdef SHOW_BOOT_ON_CONSOLE + fprintf(stderr, "%s\n", str); +#endif ustream_consume(s, len); } while (1); }