* Adeodato Simó [Sat, 21 May 2005 06:21:36 +0200]:
> Package: console-tools
> Version: 1:0.2.3dbs-56
> Severity: normal
> Tags: patch
Hi, any comments with respect this old bug? The patch still applies,
and makes extra consoles not be allocated for users that don't use all
of tty1 through tty6 in their /etc/inittab.
Thanks.
> Hello,
> currently, running /etc/init.d/console-screen.sh ends up with all ttys
> 1-12 allocated, instead of leaving them as they were initially. This
> happens because the for loop that invokes setleds does not use
> ${NUM_CONSOLES} as the upper limit, unlike other loops in the script.
> As I can't think of a reason ${NUM_CONSOLES} shouldn't be used for
> setleds (please let me know if there are any), I'm attaching a patch
> that fixes it.
> I've also included in the patch a minor fix so that the "Setting up
> general console font..." gets a final "done.\n" even if $NUM_CONSOLES
> is not 6 (alas, the echo " done." bit could alternatively be moved out
> of the loop, couldn't it?).
> Thanks.
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: Joaquín Sabina - Siete crisantemos
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]