On Wed, Dec 16, 2009 at 11:23:31AM -0500, Bill Nottingham wrote:
> How hard would it be to make this be different in runlevels 3
and 5? I like
> to have lots in runlevel 3, and few if X is available.
Given how it's implemented, you could do something truly disgusting like
ACTIVE_CONSOLES=$([ "$RUNLEVEL" = 3 ] && echo '/dev/tty[1-6]'
|| echo '/dev/tty2')
I'm not sure I really want to *support* people doing that, though.
You mean, you don't like the idea of having different numbers of consoles
running in different runlevels, or you don't like the
abusing-shell-script-as-config-file thing?
It's not a big deal, but it's something that's trivially done in traditional
inittab.
--
Matthew Miller <mattdm(a)mattdm.org>
Senior Systems Architect
Cyberinfrastructure Labs / Instructional & Research Computing
Computing & Information Technology
Harvard School of Engineering & Applied Sciences