Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
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
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
Jordan K. Hubbard 1130b656e5 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
Andrey A. Chernov 02601dae20 Remove sleep before moused, problem fixed with new consolectl device 1996-09-09 19:59:14 +00:00
Andrey A. Chernov 87dc1283f8 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
Andrey A. Chernov 97f6903efd Add moused hooks (OFF by default) 1996-06-23 20:54:42 +00:00
Mike Pritchard 440cac3e51 Another round of spelling fixes. 1996-01-31 15:03:18 +00:00
Garrett Wollman c7704e9ce0 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
Mark Murray a2c9d3c290 Fix stupid typo.
Pointed out by: Mark Valentine
1995-11-14 06:24:00 +00:00
Mark Murray cceb2049b4 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 Wemm 6bb214cdc6 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
Rodney W. Grimes 264f3ec466 FreeBSD/386 -> FreeBSD/i386
Submitted by:	Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
1995-07-17 20:07:47 +00:00
Rodney W. Grimes 694ae09c05 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
Rodney W. Grimes 51564ceea8 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
Rodney W. Grimes 40a36bc906 Add missing "echo '.'" to end of file so that the next file called
starts on a new line.
1995-04-10 01:39:13 +00:00
Rodney W. Grimes 1f55ebbcd9 This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
1995-04-09 09:54:51 +00:00
Jordan K. Hubbard 0039743841 Don't spit out a gratuitous ibcs2 startup message. 1995-04-06 02:38:37 +00:00
Andrey A. Chernov d9e7919357 Set desired cursor type for syscons 1995-04-04 17:34:55 +00:00
Andrey A. Chernov 213abfcf47 Add missing ';' 1995-04-01 12:55:33 +00:00
Andrey A. Chernov 923782ecb6 Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
1995-03-30 09:39:51 +00:00
Rodney W. Grimes 711aa1c272 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00