[arch-general] [PATCH 44/48] Save error messages to /dev/tty9.

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Fri Jul 2 05:48:12 EDT 2010


Am 2010-06-30 23:47, schrieb Victor Lowther:
> ---
>   functions |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/functions b/functions
> index 9ec8b5e..f1dce8a 100644
> --- a/functions
> +++ b/functions
> @@ -4,6 +4,10 @@
>
>   # width:
>
> +grep -q initdebug&&  {
> +    exec 2>/dev/tty9
> +}
> +

Hmm, won't this cause a read from stdin when starting/stopping daemons 
manually in a terminal?

>   STAT_COL=80
>   if [[ ! -t 1 ]]; then
>       USECOLOR=""




More information about the arch-general mailing list