From 739d51c349c3e046e1f895edd5f0784c1789ce21 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 20 Nov 2007 15:49:04 +0000 Subject: Document syscons MODE and allow to run on all terminals --- init.d.BSD/syscons | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'init.d.BSD/syscons') diff --git a/init.d.BSD/syscons b/init.d.BSD/syscons index 2a45399a..b74051c5 100644 --- a/init.d.BSD/syscons +++ b/init.d.BSD/syscons @@ -30,13 +30,14 @@ depend() { start() { if [ -n "${MODE}" ]; then ebegin "Setting mode to ${MODE}" - vidcontrol "${MODE}" + local tty= + for tty in /dev/tty*; do + [ -e "${tty}" ] || continue + vidcontrol "${MODE}" <"${tty}" >"${tty}" 2>&1 + done eend $? fi - # XXX: This should handle serial consoles. - - # Set the keymap. if [ -n "${KEYMAP}" ]; then ebegin "Setting keymap to ${KEYMAP}" kbdcontrol -l ${KEYMAP}