Commit Graph

69 Commits

Author SHA1 Message Date
Hidetoshi Shimokawa
869093b15d Add dumb console driver and related bits.
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.
2003-10-24 15:44:10 +00:00
Doug Barton
4b065e2ce1 Per previous announcement, remove the old version of the rc system.
All functionality from the previous system has been preserved, and
users should still customize their system boot with the familiar
methods, rc.conf, rc.conf.local, rc.firewall, sysctl.conf, etc.

Users who have customized versions of scripts that have been removed
should take great care when upgrading, since the compatibility code
that used those old scripts has also been removed.
2003-05-02 05:27:35 +00:00
Warner Losh
e50dfdc9ab xten isn't needed after tw is gone.
Approved by: re@ (scottl)
2003-04-27 05:49:53 +00:00
Gerald Pfeifer
e6c0365295 Mention that terminal type vt220 will work better if one needs
interoperability with other systems like Solaris or GNU/Linux.

PR:		33810
Approved by:	obrien
2002-04-17 10:42:41 +00:00
John Baldwin
dbbd9a3121 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
John Baldwin
a2ef1c8726 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
Doug Barton
e14563a3f3 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
Sheldon Hearn
81703d7fac Fix bug in rev 1.54; the terminating `;;' for the ibcs2_enable=YES
case got lost.
2000-08-18 09:43:18 +00:00
Sheldon Hearn
b53cf64a81 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
David E. O'Brien
3f6c47f3ec 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
Mark Murray
2c00ff8434 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
David E. O'Brien
3213dc6150 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs
happen with a keyboard and monitor the console change was not as needed
in the i386 case as the Alpha case.  IMO >50% of Alpha installs are using
a serial console, the change matching rev 1.7 should not be backed out.
2000-01-29 12:18:03 +00:00
David E. O'Brien
dfa6785dff * Use console' rather than ttyv0' so there will always be a getty on
the console reguardless of the type of console.
* Make the Alpha version match the i386 version.
2000-01-29 00:50:21 +00:00
Jeroen Ruigrok van der Werven
5c9037ff73 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
Jeroen Ruigrok van der Werven
67ae635373 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
Jeroen Ruigrok van der Werven
a49c947e5d 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
Sheldon Hearn
faf052a79e 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
David E. O'Brien
e5ee615637 Be slightly less verbose. 1999-09-15 11:17:59 +00:00
David E. O'Brien
1ac46012af /Linux emulation/Linux mode binary compatibility/ 1999-09-15 02:08:45 +00:00
Sheldon Hearn
321704296f 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 Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Sheldon Hearn
b68adff6b7 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
Tim Vanderhoek
bcfc146827 Grammar and formatting touch-ups to comments. 1999-08-22 19:42:40 +00:00
Mitsuru IWASAKI
325d70e4ed 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
Mitsuru IWASAKI
6f0b5cda2f 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
Mitsuru IWASAKI
701279af09 Put apmd configuration and rc files in /etc.
Update some files for apmd.
1999-07-10 18:02:42 +00:00
Dag-Erling Smørgrav
c8d4e07049 Feed the vty monster. 1999-07-04 15:06:21 +00:00
Wes Peters
9b8eb63431 Reviewed by: jkh
Submitted by:	wes
Added commentary to ttys to clarify the meaning of the columns.
Added commentary to ttys to clarify the meaning of the columns.
1999-02-09 23:55:13 +00:00
Mark Newton
8a94c0e747 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
Kazutaka YOKOTA
ae908d9cf0 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 Wemm
29ddf71810 kldload the screen savers 1998-11-11 05:25:32 +00:00
Wolfram Schneider
de4f843d24 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
Brian Somers
a19eda1f28 Add Id keywords 1998-09-02 01:34:57 +00:00
Poul-Henning Kamp
ee67ce3672 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
John Birrell
aec120dd4b Moved from directory above. It is i386 specific. 1998-05-16 21:29:17 +00:00
Andrey A. Chernov
0c168a81b5 Cosmetique changes in vidcontrol all screens knob 1998-04-02 15:33:49 +00:00
Andrey A. Chernov
1d060622ba 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
Jordan K. Hubbard
bb6531b760 New moused flag.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-07 09:02:08 +00:00
Jordan K. Hubbard
4ba534c963 DTRT with ${viddev} in the same way as the other vidcontrol entries.
Reminded by:	bde
1997-09-14 12:16:36 +00:00
Jordan K. Hubbard
6ae8628b06 MF22: If moused started, also enable it for console vty.
PR:		4525
1997-09-13 18:03:41 +00:00
Peter Wemm
0c3af3413e 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
Mark Murray
c8ef8908eb 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
Jordan K. Hubbard
fbd31922cd YAMF22 1997-05-27 07:17:12 +00:00
Jordan K. Hubbard
919d435ace 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
Jordan K. Hubbard
0862a4aff9 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
Jordan K. Hubbard
675a840372 YAMF22 1997-04-28 10:07:21 +00:00
Jordan K. Hubbard
4a2d437732 YAMF22 1997-04-28 05:51:57 +00:00
Jordan K. Hubbard
524a1478c8 Bring in rc file changes from -current. 1997-04-27 03:59:19 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Jordan K. Hubbard
5bdab685d1 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