tags 563727 patch
thanks

Indeed:

diff -u /tmp/console-screen.sh /etc/init.d/console-screen.sh
--- /tmp/console-screen.sh      2010-01-05 11:42:38.000000000 +1300
+++ /etc/init.d/console-screen.sh       2010-01-05 11:42:58.000000000 +1300
@@ -82,11 +82,10 @@
     CONSOLE_TYPE=`fgconsole 2>/dev/null` || return 0
 
     if [ ! $CONSOLE_TYPE = "serial" ]  ; then
-       readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e 
/dev/console
-       if [ $? -eq 0 ] ; then
-           VT="yes"
-           reset_vga_palette
-       fi
+      if readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e 
/dev/console; then
+       VT="yes"
+       reset_vga_palette
+      fi
     fi
 
     [ $VT = "no" ] && return 0

-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to