diff --git a/conf.d.BSD/syscons b/conf.d.BSD/syscons index 14200d39..8ea71000 100644 --- a/conf.d.BSD/syscons +++ b/conf.d.BSD/syscons @@ -1,5 +1,9 @@ # Example syscons config file. This is the place to set things like keymap, etc. +# Set the video mode - you should check the vidcontrol man page for valid modes +# NOTE:- This will blank the screen after this command is run +#MODE="VGA_90x60" + # Set the keymap to "uk.iso". #KEYMAP="uk.iso" diff --git a/init.d.BSD/Makefile b/init.d.BSD/Makefile index f1496ae4..5e035284 100644 --- a/init.d.BSD/Makefile +++ b/init.d.BSD/Makefile @@ -1,5 +1,5 @@ DIR = /etc/init.d -BIN = clock moused powerd syscons sysctl syslogd +BIN = clock moused powerd rpcbind syscons sysctl syslogd TOPDIR = .. include $(TOPDIR)/default.mk 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}