severity 394736 normal thanks In /etc/init.d/console-screen.sh in the function setup NUM_CONSOLES is defined only if SCREEN_FONT already is set:
# Global default font+sfm if [ "${SCREEN_FONT}" ] then [ "$VERBOSE" != "no" ] && log_action_begin_msg "Setting up general console font" SCREEN_FONT="-f ${SCREEN_FONT}" # maybe use an external SFM [ "${SCREEN_FONT_MAP}" ] && SCREEN_FONT_MAP="-u ${SCREEN_FONT_MAP}" # Try to be cleverer and run for all consoles, but this is run # _before_ getty and so only one console running. So, # Set for the first 6 VCs (as they are allocated in /etc/inittab) NUM_CONSOLES=`fgconsole --next-available` NUM_CONSOLES=$(($NUM_CONSOLES - 1)) ... fi and then NUM_CONSOLES is used outside this if: # Set LEDS here if [ "$LEDS" != "" ] then i=1 > while [ $i -lt $NUM_CONSOLES ] do setleds -D $LEDS < $DEVICE_PREFIX$i i=$(($i + 1)) done fi The config file /etc/console-tools/config does not define it and it is the original one so I try to change the severity. I hope that's how it is supposed to be done. Regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]