Package: console-tools
Version: 1:0.2.3dbs-67
Severity: normal

At line 258 of /etc/init.d/console-screen.sh we have a call of the old
setup() function from the previous version of console-tools:

238:    case "$1" in
239:    start|reload|restart|force-reload)
240:        log_action_msg "Setting console screen modes and fonts"
241:       # Changing the fonts make usplash exit.  Avoid this.
242:       if pidof usplash ; then
243:           log_action_msg "Setting console screen modes"
244:            setup_keymaps
245:            setup_screensaver
246:            setup_keyboard
247:       else
248:           log_action_msg "Setting console screen modes and fonts"
249:            setup_fonts
250:            setup_keymaps
251:            setup_screensaver
252:            setup_keyboard
253:       fi
254:        ;;
255:    stop)
256:        ;;
257:    *)
258:        setup
259:        ;;
260:    esac

The setup() function has been broken up into many separate functions in
the latest version, so the logic here needs to be altered accordingly.
Possibly something like this:

case "$1" in
    stop)
        ;;
    *)
       if pidof usplash ; then
            # Changing the fonts make usplash exit.  Avoid this.
            log_action_msg "Setting console screen modes"
       else
            log_action_msg "Setting console screen modes and fonts"
            setup_fonts
       fi

       setup_keymaps
       setup_screensaver
       setup_keyboard
       setup_keymaps
       setup_screensaver
       setup_keyboard
       ;;
esac


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (350, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.2-0git+k10temp+f71889fg+r600fix.091222.desktop.kms (SMP 
w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages console-tools depends on:
ii  debconf [debconf-2.0]      1.5.28        Debian configuration management sy
ii  libc6                      2.10.2-3      Embedded GNU C Library: Shared lib
ii  libconsole                 1:0.2.3dbs-67 Shared libraries for Linux console
ii  lsb-base                   3.2-23        Linux Standard Base 3.2 init scrip

Versions of packages console-tools recommends:
ii  console-common                0.7.85     basic infrastructure for text cons
ii  console-data                  2:1.10-2   keymaps, fonts, charset maps, fall

Versions of packages console-tools suggests:
pn  kbd-compat                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to