Commit Graph

58 Commits

Author SHA1 Message Date
jhb
1bb19011b4 Move the syscons configuration to a machine independent rc.syscons. The
syscons sh code was identical on both platforms except for whitespace
differences.
2001-01-09 22:28:17 +00:00
jhb
ef95623db0 Don't announce that rc.${MACHINE_ARCH} is doing the syscons configuration
as the previous line already tells us we are in rc.${MACHINE_ARCH}.  This
also allows more syscons configuration messages during startup to fit on
one line.

Reviewed by:	dougb
2001-01-07 01:11:44 +00:00
dougb
1e8ecc617b Apply a more consistent style to the echo statements in /etc/ scripts.
* Put quotes around each line
* Single quotes for lines with no variable interpolation
* Double quotes if there is
* Capitalize each word that begins a line
* Make echo -n 'Doing foo:' ... echo '.' more of a standard

No functionality changes
2000-12-17 08:16:06 +00:00
sheldonh
c641580eb1 Fix bug in rev 1.54; the terminating `;;' for the ibcs2_enable=YES
case got lost.
2000-08-18 09:43:18 +00:00
sheldonh
4332565227 Don't rely on a shell scripts to do the simple job of loading
kernel modules for ibcs2_enable and svr4_enable.

Don't rely on a shell script to do the neglibly less simple
job of loading a kernel module and running one command for
linux_enable.

These shell scripts are going away.
2000-08-18 08:07:02 +00:00
obrien
b4ef1cd578 Move the running of the Linux and SVR4 compat bits to the arch independent
location.

Sponsored by:   LinuxWorld frustration
2000-08-15 18:02:49 +00:00
markm
06c84cc174 Clean up all the old setup code for the old /dev/random. This will be
revisited when the new /dev/random is done.
2000-06-25 10:55:23 +00:00
asmodai
6c58068133 Bah! Give me the pointy hat. Never commit fixes when just awake.
anable -> enable

Spotted by:	Alexander Leidinger <Alexander@leidinger.net>
2000-01-24 15:21:43 +00:00
asmodai
2e57b19caa Fix my obmission of the keyword enable after apm -e.
Submitted by:	Blaz Zupan <blaz@amis.net>
2000-01-24 09:14:41 +00:00
asmodai
d5c4d0edb4 Use apm instead of apmconf.
Necessary change to due removal of apmconf which got moved into apm
by green.
2000-01-23 10:04:50 +00:00
sheldonh
d6a0d6a22e Use more thorough redirection to make the impact of allscreens_flags
more comprehensive.  Previously, at least colour changes were not
applied to all virtual consoles.

PR:		15066
Reported by:	Andy Farkas <andyf@speednet.com.au>
Submitted by:	yokota
1999-12-21 10:53:04 +00:00
obrien
a7a90106cd Be slightly less verbose. 1999-09-15 11:17:59 +00:00
obrien
daa6848a95 /Linux emulation/Linux mode binary compatibility/ 1999-09-15 02:08:45 +00:00
sheldonh
d8a93d30ec Apply a consistent style to most of the etc scripts. Particularly, use
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by:	Doug Barton <Doug@gorean.org>
1999-09-13 15:44:20 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
sheldonh
8cec588c44 Style clean-up:
* All variables are now embraced: ${foo}

	* All comparisons against some value now take the form:
	  [ "${foo}" ? "value" ]
	  where ? is a comparison operator

	* All empty string tests now take the form:
	  [ -z "${foo}" ]

	* All non-empty string tests now take the form:
	  [ -n "${foo}" ]

Submitted by:	jkh
1999-08-25 16:01:45 +00:00
iwasaki
4e7cdaf3e8 Refine on explanation for apm stuff.
Make it clear that apmd  depends on apmconf -e.

Reviewed by:	obrien, my friend :-)
1999-07-12 17:20:29 +00:00
iwasaki
f687757a7c Add apmd_enable and apmd_flags for the boot-time optinos.
Pointed out by:	obrien
Forgotten by:	iwasaki
1999-07-11 04:05:45 +00:00
iwasaki
be16db802f Put apmd configuration and rc files in /etc.
Update some files for apmd.
1999-07-10 18:02:42 +00:00
newton
ce56332f81 Added a knob for svr4 to rc.conf (and associated support in rc.i386)
Suggested by: jkh
1999-01-30 07:22:29 +00:00
yokota
acdb5e92a7 Unload the splash decoder module when a screen saver module is loaded.
Strictly speaking, it is not necessary; the screen saver will load
even if the splash module is still in memory.  But still, it is the right
thing to do, otherwise the splash decoder module just wasts the kernel space.

Discussed with: des
1999-01-29 18:09:38 +00:00
peter
7f7d1683a0 kldload the screen savers 1998-11-11 05:25:32 +00:00
wosch
038974f958 Write temp files with a uniq name into /var/run
instead the public writable directory /tmp
PR:	 conf/8330
1998-11-01 13:04:15 +00:00
phk
69a37778c2 modstat | grep _saver is used to determine if a screensaver is loaded
already. The modstat output goes to the screen.
PR:		7351
Reviewed by:	phk
Submitted by:	Jos Backus <Jos.backus@nl.origin-it.com>
1998-07-22 05:38:58 +00:00
ache
22df54ec1a Cosmetique changes in vidcontrol all screens knob 1998-04-02 15:33:49 +00:00
ache
6540990382 Implement vidcontrol knob which allows to set passed flags/modes
for all virtual screens (via for loop)
1998-04-02 15:17:52 +00:00
jkh
9e870e747e New moused flag.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-07 09:02:08 +00:00
jkh
90a1a3c632 DTRT with ${viddev} in the same way as the other vidcontrol entries.
Reminded by:	bde
1997-09-14 12:16:36 +00:00
jkh
1fe98f376a MF22: If moused started, also enable it for console vty.
PR:		4525
1997-09-13 18:03:41 +00:00
peter
60f787e21f fix rndcontrol invocation.. rndcontrol has the irq after a -s switch, not
just the next argument.  We really need to be able to tag drivers with
their randomness "suitability" so that this can be more automatic.  It
would be nice if all suitable drivers registered their irq automatically,
but still allowed them to be turned on/off etc.
1997-07-06 07:19:14 +00:00
markm
7ae9e3190a Correct the way IRQs are passed to rndcontrol. If there are more than
one IRQ being used, the -s options must be specified for each of them.
In this case rc.conf would only allow 1, as the -s was coded into
rc.i386.
1997-06-02 06:43:52 +00:00
jkh
b45e72570f YAMF22 1997-05-27 07:17:12 +00:00
jkh
eca8c2300f Neaten up some things which were inconsistent, add a few more flags
to things which need them, general cleanup.
Submitted by:	Brian Somers <brian@awfulhak.org>
1997-05-19 07:46:51 +00:00
jkh
af4383e1b6 Update the etc world from RELENG_2_2 which is now more up-to-date
(gotta get myself -current again, this is a drag).

Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch
1997-05-03 11:22:17 +00:00
jkh
6b8ee379fd YAMF22 1997-04-28 10:07:21 +00:00
jkh
1cc559a091 YAMF22 1997-04-28 05:51:57 +00:00
jkh
7be3f36014 Bring in rc file changes from -current. 1997-04-27 03:59:19 +00:00
peter
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
jkh
87972bbebb As /etc/sysconfig and /etc/rc.i386 is now, you can't modify the syscons
bell type on boot. Slightly annoying when your system doesn't have a speaker.
This adds a `keybell' frob for setting it.  Closes PR#2519

Submitted-By: Jonathan Mini <mini@hydrogen.nike.efn.org>
1997-01-24 10:12:45 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
ache
773f275160 Remove sleep before moused, problem fixed with new consolectl device 1996-09-09 19:59:14 +00:00
ache
669fccfc07 Make moused actually work:
add sleep 20 before moused starts.
It allows all getties to activate screens.
1996-09-07 19:04:48 +00:00
ache
1db04ef8f1 Add moused hooks (OFF by default) 1996-06-23 20:54:42 +00:00
mpp
3aff305a53 Another round of spelling fixes. 1996-01-31 15:03:18 +00:00
wollman
796e0c6ae0 Uniformize startup display to follow style of all the others. This means
in particular getting rid of most of the goop that causes syscons options
to be spread out over four separate lines.
1995-11-29 20:40:36 +00:00
markm
ebb856464a Fix stupid typo.
Pointed out by: Mark Valentine
1995-11-14 06:24:00 +00:00
markm
4c1319ac1e OOps, nearly missed this bit. Add the call to rndcontrol to set the
chosen interrupts for the entropy gathering  in /dev/random.
1995-11-13 21:33:04 +00:00
peter
124a7c632e Part 2 of the linux LKM hook, and use the new screen saver entry
points in the modload, as enforced by the recent symorder and
bsd.kmod.mk changes..
1995-10-28 12:44:13 +00:00
rgrimes
10492a66fb FreeBSD/386 -> FreeBSD/i386
Submitted by:	Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
1995-07-17 20:07:47 +00:00
rgrimes
c6563af053 Reviewed by: sos
Submitted by:	bde

rc.i386 failed messily when I used a serial console.

Editors note:
Use file redirection so that all the kbdcontrol and vidcontrol
commands act upon /dev/ttyv0 instead of stdin.  Though this feature
is not documented it is the intended behavior of {vid,kbd}control
and shall be documented in the future as such.
1995-05-26 18:06:52 +00:00