Re: [OpenWrt-Devel] [PATCH procd 2/8] Log startup/shutdown to console

2014-10-03 Thread John Crispin
stdout is already /dev/console i think and removing the messages on shutdown also removes them in all other cases from the log. should adding a single printf("%s", str); not work ? On 02/10/2014 14:56, Michel Stam wrote: > procd has the habit of logging startup/shutdown via rcS to syslog, > which

[OpenWrt-Devel] [PATCH procd 2/8] Log startup/shutdown to console

2014-10-02 Thread Michel Stam
procd has the habit of logging startup/shutdown via rcS to syslog, which is pointless in case of a shutdown, and unlikely to be complete on a startup (as syslog is not running). Write to /dev/console instead. Signed-off-by: Michel Stam --- rcS.c | 10 ++ 1 file changed, 6 insertions(+),