Package: lsb-base Version: 3.1-10 Followup-For: Bug #374780 The init-functions script already sources a file (/etc/lsb-base-logging.sh, really should be in /etc/default, but whatever - that's a seperate bug report). The following patch allows a local admin to turn off fancy_output by setting FANCYTTY=0 in /etc/lsb-base-logging.sh
Thanks,
--- /lib/lsb/init-functions 2006-06-05 20:57:40.000000000 +0100
+++ init-functions 2006-08-06 14:52:15.000000000 +0100
@@ -126,6 +126,9 @@
log_use_fancy_output () {
TPUT=/usr/bin/tput
EXPR=/usr/bin/expr
+ if FANCYTTY=0; then
+ false
+ fi
if [ "x$TERM" != "xdumb" ] && [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 60
>/dev/null 2>&1; then
FANCYTTY=1
true
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF8)
Versions of packages lsb-base depends on:
ii ncurses-bin 5.5-2 Terminal-related programs and man
ii sed 4.1.5-1 The GNU sed stream editor
lsb-base recommends no packages.
-- no debconf information
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : [EMAIL PROTECTED] |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
signature.asc
Description: Digital signature

