Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 09:56:09 -0500
From:      stan <stanb@awod.com>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   vidcontrol -s # does not work in rc script
Message-ID:  <20020227145609.GB19056@teddy.fas.com>

next in thread | raw e-mail | index | archive | help
I'm trying to do soemthing that I thought would be simple, but it is not
working.

I have created a simple shell script in /usr/local/etc/rc.d that does this:

vidcontrol -s 4

When the system boots.

Since the local startup scripts run after everything else is set up, I
expected this to work. Instead I', getting an error about:

ioctl(VT_ACTIVATE) invalid argument

If I run the script from the command line, it works.

O fannaly added a su sattement in front of it to asure that it's invoked in
a user envrionmnet, but I'm still getting the error.

Sugestions?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227145609.GB19056>