On Mon, 7 Mar 2011, Pascal Stumpf wrote:
> There is no way to tell if the output of ${daemon} contains important
> information or not. I think it should at least make its way into the
> system log and not be thrown away blindly.
Makes sense, I'll look into that.
> Index: rc.subr
> ===================================================================
> RCS file: /cvs/src/etc/rc.d/rc.subr,v
> retrieving revision 1.21
> diff -u -r1.21 rc.subr
> --- rc.subr 6 Mar 2011 16:49:48 -0000 1.21
> +++ rc.subr 7 Mar 2011 19:15:36 -0000
> @@ -7,7 +7,7 @@
>
> rc_start() {
> type rc_pre >/dev/null && rc_pre
> - ${rcexec} "${daemon} ${daemon_flags} >/dev/null ${_bg}"
> + ${rcexec} "${daemon} ${daemon_flags} | logger ${_bg}"
> }
>
> rc_check() {
>
>
--
Antoine