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

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



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=""




[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