[Pkg-kbd-devel] Bug#618573: Needed some way to test whether we are on the console
Anton Zinoviev
anton at lml.bas.bg
Fri Mar 18 05:56:19 UTC 2011
On Thu, Mar 17, 2011 at 08:43:27PM +0100, Michael Schutte wrote:
>
> It’s rather ugly, but can you confirm that
>
> # setfont -v -o /dev/null
>
> gives you the necessary information?
Thank you, it seems to work. And kbd_mode also seems to work.
Doesn't the following code do everything console-setup needs:
if kbd_mode 2>/dev/null; then
configure_the_keyboard
if setfont -o /dev/null 2>/dev/null; then
configure_the_font
fi
fi
If the answer is yes, then there is no need for special testing toos and
perhaps this bug can be closed.
Anton
More information about the Pkg-kbd-devel
mailing list