Re: [PATCH 44/48] Save error messages to /dev/tty9.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Jul 2, 2010, at 4:48 AM, "Kurt J. Bosch" <kjb- temp-2009@xxxxxxxxxxxxx> wrote:

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?

It gets fixed in the next patch.


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




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux