From 6540990382fa2dab9dc47234a52be4cec97207ea Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 2 Apr 1998 15:17:52 +0000 Subject: Implement vidcontrol knob which allows to set passed flags/modes for all virtual screens (via for loop) --- etc/etc.i386/rc.i386 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'etc/etc.i386/rc.i386') diff --git a/etc/etc.i386/rc.i386 b/etc/etc.i386/rc.i386 index d4f2a47..6e463b1 100644 --- a/etc/etc.i386/rc.i386 +++ b/etc/etc.i386/rc.i386 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.i386,v 1.31 1997/09/14 12:16:36 jkh Exp $ +# $Id: rc.i386,v 1.32 1998/03/07 09:02:08 jkh Exp $ # Do i386 specific processing # @@ -104,6 +104,15 @@ if [ "X${moused_enable}" = X"YES" ] ; then moused ${moused_flags} -p ${moused_port} -t ${moused_type} vidcontrol <${viddev} -m on fi + +# set this mode for all screens +if [ "X${allscreens_mode}" != X -a "X${allscreens_mode}" != X"NO" ] ; then + echo -n ' allscreens' + for ttyv in /dev/ttyv* + do + vidcontrol <$ttyv ${allscreens_mode} + done +fi echo '.' # interrupts for /dev/random device -- cgit v1.1