Skip site navigation (1)Skip section navigation (2)

CVS log for src/etc/rc

[BACK] Up to [FreeBSD] / src / etc

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.343: download - view: text, markup, annotated - select for diffs
Fri Apr 29 21:10:41 2011 UTC (9 months, 1 week ago) by dougb
Branches: MAIN
CVS tags: RELENG_9_BP, RELENG_9, HEAD
Diff to: previous 1.342: preferred, colored
Changes since revision 1.342: +4 -7 lines
SVN rev 221227 on 2011-04-29 21:10:41Z by dougb

Rather than trusting that nothing is going to sneak in before the
early_late_divider in the second run (and thus be skipped altogether),
keep a list of the scripts run early, and use that list to skip things
in the second run.

This has the primary benefit of not skipping a local script that gets
ordered too early in the second run. It also gives an opportunity to
clean up/simplify the code a bit.

Use a space-separated list rather than the more traditional colon for
maximum insurance against creativity in local naming conventions.

Reviewed by:	brooks

Revision 1.342: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:18:22 2008 UTC (3 years, 7 months ago) by mtm
Branches: MAIN
CVS tags: RELENG_8_BP, RELENG_8
Diff to: previous 1.341: preferred, colored
Changes since revision 1.341: +0 -1 lines
SVN rev 179942 on 2008-06-23 04:18:22Z by mtm

Remove pointless informational message.

Revision 1.341: download - view: text, markup, annotated - select for diffs
Sat Jan 26 11:22:11 2008 UTC (4 years ago) by mtm
Branches: MAIN
Diff to: previous 1.340: preferred, colored
Changes since revision 1.340: +1 -1 lines
Re-implement: do not silently fail when a command is not carried
out because the rc.conf(5) variable was not enabled. Display a
message that the command wasn't run and offer suggestions on
what the user can do.

Implement a quiet prefix, which will disable some diagnostics. The
fast prefix also implies quiet. During boot we use either fast or
quiet. For shutdown we already use 'faststop'. So, this informational
message should only appear during interactive use.

An additional benefit of having a quiet prefix is that we can start
putting some of our diagnostic messages behind this knob and start
"de-cluttering" the console during boot and shutdown.

Revision 1.340: download - view: text, markup, annotated - select for diffs
Mon Apr 2 22:53:06 2007 UTC (4 years, 10 months ago) by des
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_3_BP, RELENG_7_3, RELENG_7_2_BP, RELENG_7_2, RELENG_7_1_BP, RELENG_7_1, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_7
Diff to: previous 1.339: preferred, colored
Changes since revision 1.339: +1 -1 lines
Add a dummy script, FILESYSTEMS, which depends on root and mountcritlocal
and takes over mountcritlocal's role as the early / late divider.  This
makes it far easier to add rc scripts which need to run early, such as a
startup script for zfs, which is right around the corner.

This change should be a no-op; I have verified that the only change in
rcorder's output is the insertion of FILESYSTEMS immediately after
mountcritlocal.

MFC after:	3 weeks

Revision 1.339: download - view: text, markup, annotated - select for diffs
Mon Feb 20 21:54:30 2006 UTC (5 years, 11 months ago) by dougb
Branches: MAIN
Diff to: previous 1.338: preferred, colored
Changes since revision 1.338: +6 -1 lines
Attempt to make running the new rc in a jail more automatic by
resetting of early_late_divider to a more appropriate value if
the admin has not modified the default.

Reviewed by:	brooks

Revision 1.338: download - view: text, markup, annotated - select for diffs
Sat Dec 10 20:21:45 2005 UTC (6 years, 2 months ago) by dougb
Branches: MAIN
Diff to: previous 1.337: preferred, colored
Changes since revision 1.337: +11 -9 lines
Remove rcconf.sh from /etc/rc.d, and instead load the configuration
as part of rc. Doing this, and the sourcing of rc.subr after we have
determined if we are booting diskless (and correspondingly run
rc.initdiskless if necessary) are safe, and actually allow fewer files
to be needed on the diskless box. This also allows variables from
the configuration to be available to rc itself, such as ...

Add a variable to rc.conf, early_late_divider, which designates the
script which separates the early and late stages of the boot process.
Default this to mountcritlocal, and add text to etc/defaults/rc.conf,
rc.conf(5) and diskless(8) which describes how and why one might want
to change this.

Reviewed by:	brooks

Revision 1.337: download - view: text, markup, annotated - select for diffs
Fri Dec 2 20:06:07 2005 UTC (6 years, 2 months ago) by dougb
Branches: MAIN
Diff to: previous 1.336: preferred, colored
Changes since revision 1.336: +33 -1 lines
Introduce startup scripts from the local_startup directories to
the base rcorder. This is accomplished by running rcorder twice,
first to get all the disks mounted (through mountcritremote),
then again to include the local_startup directories.

This dramatically changes the behavior of rc.d/localpkg, as
all "local" scripts that have the new rc.d semantics are now
run in the base rcorder, so only scripts that have not been
converted yet will run in rc.d/localpkg.

Make a similar change in rc.shutdown, and add some functions in
rc.subr to support these changes.

Bump __FreeBSD_version to reflect this change.

Revision 1.336: download - view: text, markup, annotated - select for diffs
Fri Apr 29 23:02:56 2005 UTC (6 years, 9 months ago) by brooks
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6
Diff to: previous 1.335: preferred, colored
Changes since revision 1.335: +5 -0 lines
To allow /etc to be as minimal as possible in a diskless setup, we need
to run initdiskless before we run rcorder on /etc/rc.d.  To allow this,
move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly
from /etc/rc.

Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start
with entropy unblocked) and was only used by initdiskless when it
was needed.

Discussed on:	freebsd-rc
Repocopy by:	peter

Revision 1.212.2.51.8.1: download - view: text, markup, annotated - select for diffs
Thu Jan 13 22:09:17 2005 UTC (7 years ago) by anholt
Branches: RELENG_4_11
CVS tags: RELENG_4_11_0_RELEASE
Diff to: previous 1.212.2.51: preferred, colored; next MAIN 1.212.2.52: preferred, colored
Changes since revision 1.212.2.51: +2 -2 lines
MFS:
Remove and recreate with correct permissions/owner three additional X socket
directories.

Approved by:	re (kensmith)

Revision 1.212.2.52: download - view: text, markup, annotated - select for diffs
Thu Jan 13 21:50:14 2005 UTC (7 years ago) by anholt
Branches: RELENG_4
Diff to: previous 1.212.2.51: preferred, colored; branchpoint 1.212: preferred, colored; next MAIN 1.213: preferred, colored
Changes since revision 1.212.2.51: +2 -2 lines
Remove and recreate with correct permissions/owner three additional X socket
directories.

Submitted by:	lesi

Revision 1.333.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 10 09:50:53 2004 UTC (7 years, 4 months ago) by mtm
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Diff to: previous 1.333: preferred, colored; next MAIN 1.334: preferred, colored
Changes since revision 1.333: +1 -2 lines
RCS file: /home/ncvs/src/etc/rc,v

Revision 1.335: download - view: text, markup, annotated - select for diffs
Fri Oct 8 14:23:49 2004 UTC (7 years, 4 months ago) by mtm
Branches: MAIN
Diff to: previous 1.334: preferred, colored
Changes since revision 1.334: +0 -1 lines
Remove an unused variable.

Submitted by: Pawel Worach <pawel.worach@telia.com>
Remove an unused variable.

Submitted by: Pawel Worach <pawel.worach@telia.com>

Revision 1.335: download - view: text, markup, annotated - select for diffs
Fri Oct 8 14:23:49 2004 UTC (7 years, 4 months ago) by mtm
Branches: MAIN
Diff to: previous 1.334: preferred, colored
Changes since revision 1.334: +0 -1 lines
Remove an unused variable.

Submitted by: Pawel Worach <pawel.worach@telia.com>
Remove an unused variable.

Submitted by: Pawel Worach <pawel.worach@telia.com>

Revision 1.334: download - view: text, markup, annotated - select for diffs
Thu Oct 7 13:55:25 2004 UTC (7 years, 4 months ago) by mtm
Branches: MAIN
Diff to: previous 1.333: preferred, colored
Changes since revision 1.333: +1 -1 lines
Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days
Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days

Revision 1.334: download - view: text, markup, annotated - select for diffs
Thu Oct 7 13:55:25 2004 UTC (7 years, 4 months ago) by mtm
Branches: MAIN
Diff to: previous 1.333: preferred, colored
Changes since revision 1.333: +1 -1 lines
Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days
Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days

Revision 1.333: download - view: text, markup, annotated - select for diffs
Sat Jul 24 16:30:31 2004 UTC (7 years, 6 months ago) by mtm
Branches: MAIN
CVS tags: RELENG_5_BP
Branch point for: RELENG_5
Diff to: previous 1.332: preferred, colored
Changes since revision 1.332: +1 -1 lines
Correct typo.

Submitted by: eik (and probably many others)

Revision 1.332: download - view: text, markup, annotated - select for diffs
Sun Jun 6 18:06:09 2004 UTC (7 years, 8 months ago) by mtm
Branches: MAIN
Diff to: previous 1.331: preferred, colored
Changes since revision 1.331: +2 -2 lines
Restore pre-rcNG behaviour:
SIGINT (Ctrl-c) kills the current script
SIGQUIT (Ctrl-\) kills /etc/rc (dropping you into single-user)

Prodded by:	harti

Revision 1.331: download - view: text, markup, annotated - select for diffs
Mon Mar 8 12:02:07 2004 UTC (7 years, 11 months ago) by pjd
Branches: MAIN
Diff to: previous 1.330: preferred, colored
Changes since revision 1.330: +3 -3 lines
Fix skipping scripts with given keywords.
Proper syntax is '-s keyword1 -s keyword2', not '-s keyword1 keyword2'.

Revision 1.330: download - view: text, markup, annotated - select for diffs
Fri Feb 27 10:44:33 2004 UTC (7 years, 11 months ago) by mtm
Branches: MAIN
Diff to: previous 1.329: preferred, colored
Changes since revision 1.329: +4 -2 lines
o Add support for detecting a jailed environment. If a script
  cannot or does not want to be executed in a jail the
  KEYWORDS line should contain the nojail keyword.
o Update Copyright

# I suggest people who use jails more extensively than I do
# make commits to the appropriate files.

Revision 1.329: download - view: text, markup, annotated - select for diffs
Fri May 2 05:27:33 2003 UTC (8 years, 9 months ago) by dougb
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2, RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.328: preferred, colored
Changes since revision 1.328: +15 -960 lines
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.

Revision 1.328: download - view: text, markup, annotated - select for diffs
Sun Apr 27 07:08:07 2003 UTC (8 years, 9 months ago) by dougb
Branches: MAIN
Diff to: previous 1.327: preferred, colored
Changes since revision 1.327: +9 -0 lines
Add a dire warning about the impending demise of the old rc system.

Suggested by:	scottl

Revision 1.327: download - view: text, markup, annotated - select for diffs
Wed Apr 23 15:38:02 2003 UTC (8 years, 9 months ago) by matusita
Branches: MAIN
Diff to: previous 1.326: preferred, colored
Changes since revision 1.326: +1 -1 lines
Set appropriate tag "fsck" to logger(1) for background fsck messages.

PR:		51174
Submitted by:	Alex Popa <razor@ldc.ro>

Revision 1.326: download - view: text, markup, annotated - select for diffs
Mon Dec 23 07:09:44 2002 UTC (9 years, 1 month ago) by dillon
Branches: MAIN
Diff to: previous 1.325: preferred, colored
Changes since revision 1.325: +33 -13 lines
Redo the initial rc_ng check to avoid rc.conf pollution occuring too early,
initdiskless may retarget /etc and various rc.conf files.  The initial check
is now done in a subshell.
Reviewed by:	Mike Makonnen <mtm@identd.net>

Revision 1.325: download - view: text, markup, annotated - select for diffs
Sun Dec 22 22:18:41 2002 UTC (9 years, 1 month ago) by dillon
Branches: MAIN
Diff to: previous 1.324: preferred, colored
Changes since revision 1.324: +3 -11 lines
Do not unconditionally load the configuration files for the RCNG case.
Instead, load them as part of the rc.d system.  This allows us to prioritize
the initidiskless script so it runs before the configuration files are loaded
and allows us to get rid of the exit 2 hack in /etc/rc.  The exit 2 never
worked anyway since it did not unset the prior configuration, causing the
diskless code to not operate properly.

Do a major cleanup and revamping of the diskless code for RCNG.  This will
be backported to the non-RCNG scripts as well as -stable.

With suggestions from: Mike Makonnen <mtm@identd.net>
MFC after:	7 days

Revision 1.324: download - view: text, markup, annotated - select for diffs
Wed Dec 18 07:21:30 2002 UTC (9 years, 1 month ago) by mckusick
Branches: MAIN
Diff to: previous 1.323: preferred, colored
Changes since revision 1.323: +8 -2 lines
Delay an optional amount of time after booting before starting a
background fsck. The delay defaults to sixty seconds to allow
large applications such as the X server to start before disk I/O
bandwidth is monopolized by fsck.

Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
Sponsored by:   DARPA & NAI Labs.

Revision 1.323: download - view: text, markup, annotated - select for diffs
Tue Nov 26 17:51:03 2002 UTC (9 years, 2 months ago) by rwatson
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.322: preferred, colored
Changes since revision 1.322: +1 -1 lines
Update rc scripts to load mac_lomac instead of lomac.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories

Revision 1.212.2.51: download - view: text, markup, annotated - select for diffs
Thu Oct 17 17:25:07 2002 UTC (9 years, 3 months ago) by schweikh
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_11_BP, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Branch point for: RELENG_4_11
Diff to: previous 1.212.2.50: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.50: +8 -9 lines
MFC: correct style bugs (whitespace, "then" style). No content changes.

Revision 1.322: download - view: text, markup, annotated - select for diffs
Sat Oct 12 07:21:18 2002 UTC (9 years, 4 months ago) by dd
Branches: MAIN
Diff to: previous 1.321: preferred, colored
Changes since revision 1.321: +1 -1 lines
Aesthetics: Most (all?) other messages output at boot time have
trailing periods, so why shouldn't this one?

Revision 1.321: download - view: text, markup, annotated - select for diffs
Thu Oct 3 20:39:29 2002 UTC (9 years, 4 months ago) by schweikh
Branches: MAIN
Diff to: previous 1.320: preferred, colored
Changes since revision 1.320: +15 -15 lines
Fix all whitespace style bugs where spaces have been used
where tabs should have been. Cut & paste disease?

Spotted by:	vi(1) tabstop=4
MFC after:	2 weeks

Revision 1.320: download - view: text, markup, annotated - select for diffs
Wed Oct 2 00:59:14 2002 UTC (9 years, 4 months ago) by dd
Branches: MAIN
Diff to: previous 1.319: preferred, colored
Changes since revision 1.319: +7 -0 lines
In a diskless setup, rc.d/initdiskless may overwrite parts of /etc on
a per-machine or per-cluster (with different ways of expressing what's
part of a cluster) basis.  In order for this to be effective, rc.conf
has to be reread after initdiskless is finished.  Implement this by
adding a hook to etc/rc which rereads rc.conf by request.  This can
also be implemented by renaming initdiskless to initdiskless.sh and
sourcing rc.conf there manually, but it was decided that, that would
be uglier than a hook in etc/rc.

Developed in concert with:	gordon

Revision 1.319: download - view: text, markup, annotated - select for diffs
Tue Sep 17 01:48:48 2002 UTC (9 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.318: preferred, colored
Changes since revision 1.318: +8 -12 lines
Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha

Revision 1.318: download - view: text, markup, annotated - select for diffs
Wed Sep 11 01:00:56 2002 UTC (9 years, 5 months ago) by gordon
Branches: MAIN
Diff to: previous 1.317: preferred, colored
Changes since revision 1.317: +1 -1 lines
Quiet warnings about non-existent scripts. My own fault for not testing my
own patches as well as I should.

Revision 1.317: download - view: text, markup, annotated - select for diffs
Thu Aug 15 03:24:47 2002 UTC (9 years, 5 months ago) by gordon
Branches: MAIN
Diff to: previous 1.316: preferred, colored
Changes since revision 1.316: +0 -1 lines
Remove an accidental double chkdepend that snuck in during the last commit.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>

Revision 1.316: download - view: text, markup, annotated - select for diffs
Wed Aug 14 05:58:44 2002 UTC (9 years, 5 months ago) by gordon
Branches: MAIN
Diff to: previous 1.315: preferred, colored
Changes since revision 1.315: +0 -2 lines
Don't export variables from /etc/rc when doing rc_ng because the scripts
are sourced in a subshell.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>

Revision 1.315: download - view: text, markup, annotated - select for diffs
Wed Aug 14 05:37:06 2002 UTC (9 years, 5 months ago) by gordon
Branches: MAIN
Diff to: previous 1.314: preferred, colored
Changes since revision 1.314: +16 -4 lines
Clean up some variables that should have been done before:
xntpd_* -> ntpd_*
portmap_* -> rpcbind_*

Also change single_mountd_enable to mountd_enable.

We also include shims for all the old variable names.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>

Revision 1.314: download - view: text, markup, annotated - select for diffs
Thu Jun 13 22:30:02 2002 UTC (9 years, 7 months ago) by gordon
Branches: MAIN
Diff to: previous 1.313: preferred, colored
Changes since revision 1.313: +54 -3 lines
Add the final bits that allow the use of rc.d. Note that you can toggle
between rc.d and the classic boot scripts based on the rcng variable in
your rc.conf. Defaults to classic boot scripts.

Submitted by:	Mike Makonnen

Revision 1.313: download - view: text, markup, annotated - select for diffs
Thu May 16 02:10:03 2002 UTC (9 years, 8 months ago) by trhodes
Branches: MAIN
Diff to: previous 1.312: preferred, colored
Changes since revision 1.312: +6 -6 lines
Consistancy, file system > filesystem

Revision 1.212.2.34.2.1: download - view: text, markup, annotated - select for diffs
Thu May 9 17:41:05 2002 UTC (9 years, 9 months ago) by nectar
Branches: RELENG_4_4
Diff to: previous 1.212.2.34: preferred, colored; next MAIN 1.212.2.35: preferred, colored
Changes since revision 1.212.2.34: +4 -2 lines
MFC 1.312: Remove dangerous use of globbing.

Revision 1.212.2.38.2.1: download - view: text, markup, annotated - select for diffs
Thu May 9 17:40:27 2002 UTC (9 years, 9 months ago) by nectar
Branches: RELENG_4_5
Diff to: previous 1.212.2.38: preferred, colored; next MAIN 1.212.2.39: preferred, colored
Changes since revision 1.212.2.38: +4 -2 lines
MFC 1.312: Remove dangerous use of globbing.

Revision 1.212.2.50: download - view: text, markup, annotated - select for diffs
Thu May 9 17:39:01 2002 UTC (9 years, 9 months ago) by nectar
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6
Diff to: previous 1.212.2.49: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.49: +4 -2 lines
MFC 1.312: Remove dangerous use of globbing.

Approved by:	re

Revision 1.312: download - view: text, markup, annotated - select for diffs
Wed May 8 14:47:44 2002 UTC (9 years, 9 months ago) by nectar
Branches: MAIN
Diff to: previous 1.311: preferred, colored
Changes since revision 1.311: +4 -2 lines
It is dangerous to use globbing like so in startup scripts:

  rm -f /tmp/.X11-unix/*

If /tmp/.X11-unix didn't already exist, a user could symlink it to a directory
with files that he wants to wipe out, and wait for next reboot.

Reported by:	lumpy <lumpy@the.whole.net>

Revision 1.212.2.49: download - view: text, markup, annotated - select for diffs
Sun Apr 28 22:49:59 2002 UTC (9 years, 9 months ago) by wes
Branches: RELENG_4
Diff to: previous 1.212.2.48: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.48: +6 -1 lines
MFC reboot -k option to specify next kernel to boot.

Revision 1.311: download - view: text, markup, annotated - select for diffs
Fri Apr 26 22:32:14 2002 UTC (9 years, 9 months ago) by wes
Branches: MAIN
Diff to: previous 1.310: preferred, colored
Changes since revision 1.310: +2 -2 lines
Rename the file used to specify the nextboot to make it clear that this
is a loader configuration file and can be used for more than just a
kernel name.

Submitted by:	Gordon Tetlow <gordont@gnf.org>

Revision 1.310: download - view: text, markup, annotated - select for diffs
Fri Apr 26 07:31:03 2002 UTC (9 years, 9 months ago) by wes
Branches: MAIN
Diff to: previous 1.309: preferred, colored
Changes since revision 1.309: +5 -1 lines
Add a -k option to reboot to specify the kernel to boot next time
around.  If the kernel boots successfully, the record of this kernel
is erased, it is intended to be a one-shot option for testing
kernels.

This could be improved by having the loader remove the record of
the next kernel to boot, it is currently removed in /etc/rc immediately
after disks are mounted r/w.

I'd like to MFC this before the 4.6 freeze unless there is violent
objection.

Reviewed by:	Several on IRC
MFC after:	4 days

Revision 1.309: download - view: text, markup, annotated - select for diffs
Tue Apr 23 00:05:48 2002 UTC (9 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.308: preferred, colored
Changes since revision 1.308: +2 -2 lines
Do not use 'ps -e' for entropy gathering.  It uses /proc/*/mem to rummage
around *user* memory to extract the environment variable strings.  This
is problematic for us.

Submitted by:	peter

Revision 1.212.2.48: download - view: text, markup, annotated - select for diffs
Mon Apr 15 00:44:13 2002 UTC (9 years, 9 months ago) by dougb
Branches: RELENG_4
Diff to: previous 1.212.2.47: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.47: +30 -18 lines
MFC en masse. Several of the included changes are mine, however we've
gotten pretty far out of synch with -current over the last year or so,
this catches us up for everything that makes sense.

There are several whitespace only changes here. In an ideal world I
would have had time to seperate them out, however I did not. Most of
them are included to be consistent with -current, some of them are
"improvements" that happened while I was adding things back.

Of particular note:
/var/log/auth.log
/var/run and /var/spool cleanup in rc
Early and late rc.sysctl runs
New mailq/queurun support in daily scripts

Revision 1.212.2.47: download - view: text, markup, annotated - select for diffs
Thu Apr 11 23:25:50 2002 UTC (9 years, 10 months ago) by gshapiro
Branches: RELENG_4
Diff to: previous 1.212.2.46: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.46: +5 -39 lines
MFC: Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
     again."

     As an alternative to sendmail_enable=NONE, solve the boot time problem
     for non-sendmail users completely by moving all of the sendmail startup
     code from /etc/rc to /etc/rc.sendmail.  The source for that script will
     be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
     prevent it from being installed.  A new rc.conf variable,
     mta_start_script specifies the script to run to start the user's
     preferred MTA.  For backward compatibility, it will default to
     /etc/rc.sendmail.  The specified script is called out of /etc/rc after
     checking to make sure it exists.  A new rc.sendmail.8 man page has also
     been added which now houses the sendmail_* variable descriptions
     formerly in rc.conf.5.

     Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

     Reviewed by:    -current, -stable, obrien, peter, ru
     MFC after:      1 week

     Revision  Changes    Path
     1.142     +19 -10    src/etc/defaults/rc.conf
     1.27      +38 -70    src/etc/mail/Makefile
     1.308     +5 -39     src/etc/rc
     1.16      +3 -1      src/etc/sendmail/Makefile
     1.1       +193 -0    src/etc/sendmail/rc.sendmail (new)
     1.160     +13 -105   src/share/man/man5/rc.conf.5
     1.26      +4 -0      src/share/man/man8/Makefile
     1.1       +241 -0    src/share/man/man8/rc.sendmail.8 (new)

Revision 1.308: download - view: text, markup, annotated - select for diffs
Fri Apr 5 02:30:40 2002 UTC (9 years, 10 months ago) by gshapiro
Branches: MAIN
Diff to: previous 1.307: preferred, colored
Changes since revision 1.307: +5 -39 lines
Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail.  The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed.  A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA.  For backward compatibility, it will default to
/etc/rc.sendmail.  The specified script is called out of /etc/rc after
checking to make sure it exists.  A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by:	-current, -stable, obrien, peter, ru
MFC after:	1 week

Revision 1.212.2.46: download - view: text, markup, annotated - select for diffs
Fri Apr 5 01:58:22 2002 UTC (9 years, 10 months ago) by gshapiro
Branches: RELENG_4
Diff to: previous 1.212.2.45: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.45: +27 -15 lines
MFC: Provide a way for users to completely prevent sendmail from trying to
     start at boot time.

     Instead of rc.conf's sendmail_enable only accepting YES or NO, it can
     now also accept NONE.  If set to NONE, none of the other sendmail
     related startup items will be done.

     Remove an extra queue running daemon might be started that wasn't
     necessary (it didn't hurt anything but it wasn't needed).

     The new logic is:

    # MTA
    if ${sendmail_enable} == NONE
            # Do nothing
    else if ${sendmail_enable} == YES
            start sendmail with ${sendmail_flags}
    else if ${sendmail_submit_enable} == YES
            start sendmail with ${sendmail_submit_flags}
    else if ${sendmail_outbound_enable} == YES
            start sendmail with ${sendmail_outbound_flags}
    endif
    # MSP Queue Runner
    if ${sendmail_enable} != NONE &&
       [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES
            start sendmail with ${sendmail_msp_queue_flags}
    endif

    Revision  Changes    Path
    1.141     +7 -6      src/etc/defaults/rc.conf
    1.307     +27 -15    src/etc/rc
    1.158     +14 -5     src/share/man/man5/rc.conf.5

Revision 1.307: download - view: text, markup, annotated - select for diffs
Thu Mar 28 03:29:18 2002 UTC (9 years, 10 months ago) by gshapiro
Branches: MAIN
Diff to: previous 1.306: preferred, colored
Changes since revision 1.306: +27 -15 lines
Provide a way for users to completely prevent sendmail from trying to start
at boot time.

Instead of rc.conf's sendmail_enable only accepting YES or NO, it can now
also accept NONE.  If set to NONE, none of the other sendmail related
startup items will be done.

Remove an extra queue running daemon might be started that wasn't necessary
(it didn't hurt anything but it wasn't needed).

The new logic is:

# MTA
if ${sendmail_enable} == NONE
        # Do nothing
else if ${sendmail_enable} == YES
        start sendmail with ${sendmail_flags}
else if ${sendmail_submit_enable} == YES
        start sendmail with ${sendmail_submit_flags}
else if ${sendmail_outbound_enable} == YES
        start sendmail with ${sendmail_outbound_flags}
endif
# MSP Queue Runner
if ${sendmail_enable} != NONE &&
   [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES
        start sendmail with ${sendmail_msp_queue_flags}
endif

Discussed with: Thomas Quinot <Thomas.Quinot@Cuivre.FR.EU.ORG>,
		Christopher Schulte <schulte+freebsd@nospam.schulte.org>
MFC after:	1 week

Revision 1.306: download - view: text, markup, annotated - select for diffs
Tue Mar 26 02:38:08 2002 UTC (9 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.305: preferred, colored
Changes since revision 1.305: +4 -4 lines
Don't start any sendmail process in the back ground.

Requested by:	gshapiro

Revision 1.212.2.45: download - view: text, markup, annotated - select for diffs
Mon Mar 25 21:41:28 2002 UTC (9 years, 10 months ago) by gshapiro
Branches: RELENG_4
Diff to: previous 1.212.2.44: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.44: +17 -2 lines
MFC: Add infrastructure for sendmail 8.12.  If users are not starting a daemon
     at boot (sendmail_enable=NO), a localhost-only daemon may started
     (sendmail_submit_enable) as it is needed to accept mail from command line
     submissions.  If this isn't desired, see etc/mail/README for more hints.

     Optionally (sendmail_msp_queue_enable) start a queue runner for the
     submission queue in case a daemon isn't available to accept command line
     submitted mail at submission time.

     Note that the syslog labels for all of these sendmail processes have been
     uniquified for easier log parsing.

     Revision  Changes    Path
     1.138     +9 -3      src/etc/defaults/rc.conf
     1.296     +17 -2     src/etc/rc
     1.151     +36 -0     src/share/man/man5/rc.conf.5

Revision 1.305: download - view: text, markup, annotated - select for diffs
Mon Mar 25 20:53:48 2002 UTC (9 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.304: preferred, colored
Changes since revision 1.304: +2 -2 lines
Don't background the sendmail-clientmqueue process -- can give:
sm-queue[181]: NOQUEUE: SYSERR(root): fill_fd: before readcf: fd 1 not open: Bad file descriptor

Revision 1.304: download - view: text, markup, annotated - select for diffs
Fri Mar 22 23:45:13 2002 UTC (9 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.303: preferred, colored
Changes since revision 1.303: +5 -5 lines
Sendmail can be slow to startup.
So start it in the background to speed up booting.

Revision 1.303: download - view: text, markup, annotated - select for diffs
Mon Mar 18 00:56:51 2002 UTC (9 years, 10 months ago) by dougb
Branches: MAIN
Diff to: previous 1.302: preferred, colored
Changes since revision 1.302: +3 -3 lines
Make sure that rc.syctl gets its own version of positional parameters

Submitted by:	cjc

Revision 1.302: download - view: text, markup, annotated - select for diffs
Sun Mar 17 20:14:11 2002 UTC (9 years, 10 months ago) by dougb
Branches: MAIN
Diff to: previous 1.301: preferred, colored
Changes since revision 1.301: +3 -4 lines
Distinguish between first and last passes of rc.sysctl, and only set
mibs whose values are not already what is specified in sysctl.conf.

Revision 1.212.2.44: download - view: text, markup, annotated - select for diffs
Sun Mar 17 09:52:31 2002 UTC (9 years, 10 months ago) by cjc
Branches: RELENG_4
Diff to: previous 1.212.2.43: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.43: +24 -14 lines
MFC: Don't protect dumpon(8) and dumpdir(8) from failing. Move
dumpon(8) to very early in the rc(8) script so crashes during boot may
be caught. Update the documentation.

	src/etc/rc			1.297, 1.298
	src/share/man/man5/rc.conf.5	1.137, 1.154

PR:		conf/35725

Revision 1.301: download - view: text, markup, annotated - select for diffs
Sun Mar 17 08:38:03 2002 UTC (9 years, 10 months ago) by dougb
Branches: MAIN
Diff to: previous 1.300: preferred, colored
Changes since revision 1.300: +9 -2 lines
Add a late rc.sysctl pass to catch sysctl's for things that were
not loaded yet on the first pass.

PR:		conf/19629
Submitted by:	Stephen J. Roznowski <sjr@home.com>

Revision 1.300: download - view: text, markup, annotated - select for diffs
Sat Mar 16 20:01:25 2002 UTC (9 years, 10 months ago) by cjc
Branches: MAIN
Diff to: previous 1.299: preferred, colored
Changes since revision 1.299: +2 -2 lines
Only put standard FreeBSD directories in the PATH. If the
administrator wishes to run commands outside of the PATH, he should
use a full pathname for the executable or set the PATH as appropriate
in any local startup scripts.

PR:		misc/35770

Revision 1.299: download - view: text, markup, annotated - select for diffs
Tue Mar 12 21:47:30 2002 UTC (9 years, 11 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.298: preferred, colored
Changes since revision 1.298: +8 -1 lines
Allow LOMAC to be loaded as part of the boot scripts using "lomac_enable"
setting in rc.conf.

Extracted from the still clammy hands of:	green
Sponsored by:	DARPA, NAI Labs

Revision 1.298: download - view: text, markup, annotated - select for diffs
Tue Mar 12 20:59:35 2002 UTC (9 years, 11 months ago) by cjc
Branches: MAIN
Diff to: previous 1.297: preferred, colored
Changes since revision 1.297: +18 -15 lines
Run dumpon(8) early so crashes during startup can be caught. In
addition, take out the checks on the $dumpdev. dumpon(8) behaves well
if given a non-existent filename. It gives a nice error message which
is better rather than the current silent failure.

Reviewed by:	des

Revision 1.297: download - view: text, markup, annotated - select for diffs
Mon Mar 11 08:46:55 2002 UTC (9 years, 11 months ago) by cjc
Branches: MAIN
Diff to: previous 1.296: preferred, colored
Changes since revision 1.296: +9 -4 lines
Don't protect savecore(8) from being run with a bad dumpdir
argument. Don't fail silently, but let savecore(8) make noise. It
won't behave badly, it doesn't need protection.

At the same time, allow the administrator to have dumpdev enabled
while dumpdir (savecore(8)) is disabled and document how to do it.

PR:		conf/35725

Revision 1.212.2.43: download - view: text, markup, annotated - select for diffs
Thu Mar 7 18:10:02 2002 UTC (9 years, 11 months ago) by sheldonh
Branches: RELENG_4
Diff to: previous 1.212.2.42: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.42: +2 -1 lines
Re-introduce registration of amd's dependency on nfs.  This time,
load nfs.ko, not nfsclient.ko.  The change has been tested for
kernels with and without NFS support wired in.

This change was originally MFC'd as

	rev 1.212.2.41 of src/etc/rc
	rev 1.74.2.32 of src/etc/rc.network

Revision 1.212.2.42: download - view: text, markup, annotated - select for diffs
Mon Mar 4 08:37:33 2002 UTC (9 years, 11 months ago) by sheldonh
Branches: RELENG_4
Diff to: previous 1.212.2.41: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.41: +1 -2 lines
Revert previous delta.  The patch wasn't properly tailored to -STABLE,
where nfcslient.ko does not exist.

Revision 1.212.2.41: download - view: text, markup, annotated - select for diffs
Wed Feb 27 10:36:03 2002 UTC (9 years, 11 months ago) by sheldonh
Branches: RELENG_4
Diff to: previous 1.212.2.40: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.40: +2 -1 lines
MFC: register amd's dependency on NFS

	rc		rev 1.292
	rc.network	rev 1.121

Revision 1.212.2.40: download - view: text, markup, annotated - select for diffs
Mon Feb 18 13:19:35 2002 UTC (9 years, 11 months ago) by cjc
Branches: RELENG_4
Diff to: previous 1.212.2.39: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.39: +11 -13 lines
MFC 1.295: Remove check for sendmail.conf before even trying to start
sendmail.

PR:		conf/34993
Reviewed by:	gshapiro

Revision 1.296: download - view: text, markup, annotated - select for diffs
Sun Feb 17 22:19:14 2002 UTC (9 years, 11 months ago) by gshapiro
Branches: MAIN
Diff to: previous 1.295: preferred, colored
Changes since revision 1.295: +17 -2 lines
Add infrastructure for sendmail 8.12.  If users are not starting a daemon
at boot (sendmail_enable=NO), a localhost-only daemon may started
(sendmail_submit_enable) as it is needed to accept mail from command line
submissions.  If this isn't desired, see etc/mail/README for more hints.

Optionally (sendmail_msp_queue_enable) start a queue runner for the
submission queue in case a daemon isn't available to accept command line
submitted mail at submission time.

Note that the syslog labels for all of these sendmail processes have been
uniquified for easier log parsing.

Revision 1.295: download - view: text, markup, annotated - select for diffs
Sun Feb 17 02:01:15 2002 UTC (9 years, 11 months ago) by cjc
Branches: MAIN
Diff to: previous 1.294: preferred, colored
Changes since revision 1.294: +11 -13 lines
Remove check for sendmail.conf before even trying to start sendmail.

Checking for the existence of sendmail.cf is rather silly when someone
is using the mailwrapper(8) to run a mail daemon that is not actually
sendmail(8). It is also probably better to let sendmail(8) actually
try to start and error out if the administrator has
'sendmail_enable="YES"' but no sendmail.conf. At present, it would
fail silently.

Reviewed by:	gshapiro
MFC after:	2 days

Revision 1.212.2.39: download - view: text, markup, annotated - select for diffs
Sat Feb 9 03:11:30 2002 UTC (10 years ago) by nyan
Branches: RELENG_4
Diff to: previous 1.212.2.38: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.38: +3 -3 lines
MFC: Use MACHINE_ARCH instead of MACHINE.

Revision 1.294: download - view: text, markup, annotated - select for diffs
Mon Feb 4 12:50:52 2002 UTC (10 years ago) by nyan
Branches: MAIN
Diff to: previous 1.293: preferred, colored
Changes since revision 1.293: +3 -3 lines
Use MACHINE_ARCH instead of MACHINE to check i386 arch.

MFC after:	3 days

Revision 1.293: download - view: text, markup, annotated - select for diffs
Mon Jan 28 11:06:02 2002 UTC (10 years ago) by sheldonh
Branches: MAIN
Diff to: previous 1.292: preferred, colored
Changes since revision 1.292: +1 -1 lines
(forced commit)

The previous change is subject to:

MFC after:	1 month

Revision 1.292: download - view: text, markup, annotated - select for diffs
Mon Jan 28 11:05:01 2002 UTC (10 years ago) by sheldonh
Branches: MAIN
Diff to: previous 1.291: preferred, colored
Changes since revision 1.291: +2 -1 lines
Register amd's dependency on NFS.

This change was submitted to the freebsd-audit mailing list for review
but received no feedback.  Hindsight-enabled reviews are welcome.

PR:		conf/31358
Submitted:	Thomas Quinot <thomas@cuivre.fr.eu.org>

Revision 1.291: download - view: text, markup, annotated - select for diffs
Sat Dec 29 19:42:54 2001 UTC (10 years, 1 month ago) by sheldonh
Branches: MAIN
Diff to: previous 1.290: preferred, colored
Changes since revision 1.290: +12 -4 lines
Don't require operators to override the list of network filesystem
types (networkfs_types) with a version that includes the original
list.

This increases the scope for user error and also means that systems with
networkfs_types set in /etc/rc.conf will not benefit from changes to the
list in /etc/defaults/rc.conf on upgrade.

Instead, store the default list in /etc/rc itself and allow the operator
to append to that list by specifying her own list in networkfs_types.

Rename networkfs_types to extra_netfs_types accordingly, as the new name
better describes the purpose of the variable.  Default the value to
'NO'.

Revision 1.290: download - view: text, markup, annotated - select for diffs
Thu Dec 27 13:41:26 2001 UTC (10 years, 1 month ago) by sheldonh
Branches: MAIN
Diff to: previous 1.289: preferred, colored
Changes since revision 1.289: +33 -2 lines
Re-introduce the fix that delays mounting of network filesystems until
the network is initialized.  This was first implemented in rev 1.268
of src/etc/rc, but was backed out at wollman's request.

The objection was that the right place for the fix is in mount(8).
Having looked at that problem, I find it hard to believe that
the hoops one would have to jump through can be justified by the
desire for purity alone.

Note that there are reported issues surrounding nfsclient kernel
support and mount_nfs(8), which currently make NFS an ugly exception
to the general case.

With this change, systems with non-NFS network filesystems configured
for mounting on startup in /etc/fstab are no longer guaranteed to
fail on startup.

Revision 1.212.2.38: download - view: text, markup, annotated - select for diffs
Wed Dec 19 17:52:17 2001 UTC (10 years, 1 month ago) by ru
Branches: RELENG_4
CVS tags: RELENG_4_5_BP, RELENG_4_5_0_RELEASE
Branch point for: RELENG_4_5
Diff to: previous 1.212.2.37: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.37: +2 -2 lines
MFC: s/sysctl -w/sysctl/

Revision 1.289: download - view: text, markup, annotated - select for diffs
Wed Dec 19 16:10:25 2001 UTC (10 years, 1 month ago) by brian
Branches: MAIN
Diff to: previous 1.288: preferred, colored
Changes since revision 1.288: +14 -11 lines
Don't assume that /var/run and /var/spool/lock are on the same
partition.

Submitted by:	ru

Revision 1.212.2.37: download - view: text, markup, annotated - select for diffs
Wed Dec 19 14:40:28 2001 UTC (10 years, 1 month ago) by roam
Branches: RELENG_4
Diff to: previous 1.212.2.36: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.36: +4 -1 lines
MFC: set script_name_sep to a sensible value of " " if it is not set.

Revision 1.212.2.36: download - view: text, markup, annotated - select for diffs
Wed Dec 12 19:52:46 2001 UTC (10 years, 2 months ago) by phk
Branches: RELENG_4
Diff to: previous 1.212.2.35: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.35: +7 -1 lines
MFC: the /etc/rc.early escape for early boot jobs.

Revision 1.288: download - view: text, markup, annotated - select for diffs
Wed Dec 12 10:12:20 2001 UTC (10 years, 2 months ago) by roam
Branches: MAIN
Diff to: previous 1.287: preferred, colored
Changes since revision 1.287: +4 -1 lines
Set the script_name_sep variable to a safe value if it is not
already set (e.g. a failed/skipped mergemaster run during an upgrade).
Without this, if script_name_sep was not set in the rc.conf files,
local scripts will not be executed on startup or shutdown.

PR:		misc/32687
Submitted by:	Nicholas Paufler <echofox@discordia.ca> (the problem)
		Sheldon Hearn (the idea behind the fix)
Reviewed by:	sheldonh
MFC after:	1 week

Revision 1.287: download - view: text, markup, annotated - select for diffs
Tue Dec 11 08:21:45 2001 UTC (10 years, 2 months ago) by ru
Branches: MAIN
Diff to: previous 1.286: preferred, colored
Changes since revision 1.286: +5 -5 lines
s/sysctl -w/sysctl/

Revision 1.212.2.35: download - view: text, markup, annotated - select for diffs
Tue Nov 27 13:53:42 2001 UTC (10 years, 2 months ago) by des
Branches: RELENG_4
Diff to: previous 1.212.2.34: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.34: +6 -3 lines
MFC: (1.284) parametrize the dump directory.

Revision 1.286: download - view: text, markup, annotated - select for diffs
Fri Oct 19 06:50:52 2001 UTC (10 years, 3 months ago) by dougb
Branches: MAIN
Diff to: previous 1.285: preferred, colored
Changes since revision 1.285: +19 -4 lines
Handle the lack of nfs server or client support in the kernel by
kldload'ing the appropriate modules before enabling the service.

Revision 1.285: download - view: text, markup, annotated - select for diffs
Wed Oct 10 04:25:44 2001 UTC (10 years, 4 months ago) by dougb
Branches: MAIN
Diff to: previous 1.284: preferred, colored
Changes since revision 1.284: +7 -4 lines
Follow existing style a little better

Revision 1.284: download - view: text, markup, annotated - select for diffs
Tue Oct 9 18:39:59 2001 UTC (10 years, 4 months ago) by des
Branches: MAIN
Diff to: previous 1.283: preferred, colored
Changes since revision 1.283: +6 -3 lines
Add a dumpdir variable that determines where savecore stores crash dumps.
I've had this on my development box for ages...

Revision 1.283: download - view: text, markup, annotated - select for diffs
Tue Oct 2 12:00:39 2001 UTC (10 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.282: preferred, colored
Changes since revision 1.282: +2 -2 lines
Sigh, fix the unfixed typo: s/-l/-L/.

Revision 1.282: download - view: text, markup, annotated - select for diffs
Tue Oct 2 11:50:14 2001 UTC (10 years, 4 months ago) by knu
Branches: MAIN
Diff to: previous 1.281: preferred, colored
Changes since revision 1.281: +2 -2 lines
Fix a typo: s/-or/-o/.

Revision 1.281: download - view: text, markup, annotated - select for diffs
Mon Oct 1 22:52:32 2001 UTC (10 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.280: preferred, colored
Changes since revision 1.280: +2 -2 lines
Add ()'s around the warning message when skipping a startup script.
Also don't give the whole path, just the script name.

Submitted by:	des
Requested by:	jhb

Revision 1.280: download - view: text, markup, annotated - select for diffs
Mon Oct 1 21:30:27 2001 UTC (10 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.279: preferred, colored
Changes since revision 1.279: +3 -3 lines
Tweak the Skipping ${script} logic to also handle symlinks.
Also echo with "-n".

Revision 1.279: download - view: text, markup, annotated - select for diffs
Sun Sep 30 22:07:19 2001 UTC (10 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.278: preferred, colored
Changes since revision 1.278: +2 -2 lines
Fix the problem that the startup directory is printed out if it
is empty.

Submitted by:	Udo Schweigert <udo.schweigert@siemens.com>

Revision 1.278: download - view: text, markup, annotated - select for diffs
Wed Sep 26 06:17:25 2001 UTC (10 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.277: preferred, colored
Changes since revision 1.277: +7 -1 lines
Give people a chance to do things before fsck is run.

MFC after:	2 weeks

Revision 1.277: download - view: text, markup, annotated - select for diffs
Wed Sep 26 06:01:40 2001 UTC (10 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.276: preferred, colored
Changes since revision 1.276: +7 -7 lines
Run rc.devfs a little bit earlier.
Many people like to use generic devices in rc.syscons, etc..
So rc.devfs needs to run before those rc files.

Requested by:	Jos Backus <josb@cncdsl.com>

Revision 1.276: download - view: text, markup, annotated - select for diffs
Tue Sep 25 01:55:21 2001 UTC (10 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.275: preferred, colored
Changes since revision 1.275: +3 -1 lines
Let people know when a startup script is skipped because it is not
executable.

Suggested by:	gad

Revision 1.275: download - view: text, markup, annotated - select for diffs
Mon Sep 24 18:17:11 2001 UTC (10 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.274: preferred, colored
Changes since revision 1.274: +2 -2 lines
Back out rev 1.274.  The previous behavior was documented in rc.8 and
the original commit of local_startup depended on the scripts being
executable; so there is too much precedence to change it now.  About all
anyone could agree on is that rev 1.274 broke POLA and before rev 1.274
also broke POLA.

Revision 1.274: download - view: text, markup, annotated - select for diffs
Mon Sep 24 03:03:51 2001 UTC (10 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.273: preferred, colored
Changes since revision 1.273: +2 -2 lines
+ explicitly use the shell to run ${local_startup} so one does not have to
  ensure the executable bit is set on the scripts.
+ Fix VCS ID's

Revision 1.273: download - view: text, markup, annotated - select for diffs
Wed Aug 29 05:39:06 2001 UTC (10 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.272: preferred, colored
Changes since revision 1.272: +1 -9 lines
Remove more vestages of diskcheckd, which is now in ports/sysutils.

Revision 1.212.2.34: download - view: text, markup, annotated - select for diffs
Wed Aug 1 19:59:05 2001 UTC (10 years, 6 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE
Branch point for: RELENG_4_4
Diff to: previous 1.212.2.33: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.33: +18 -9 lines
MFC: At great personal risk, touch the sendmail startup again.  This adds
easy seperate knobs for inbound (accepting SMTP connections) and outbound
(just occasionally dequeueing) sendmail daemon startup.

For RELENG_4, we default to inbound turned on, outbound-only turned off.

Revision 1.212.2.33: download - view: text, markup, annotated - select for diffs
Wed Aug 1 19:50:33 2001 UTC (10 years, 6 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.212.2.32: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.32: +3 -3 lines
MFC: savecore_flags support and use fully qualified path for savecore

Revision 1.212.2.32: download - view: text, markup, annotated - select for diffs
Tue Jul 31 16:16:28 2001 UTC (10 years, 6 months ago) by roam
Branches: RELENG_4
Diff to: previous 1.212.2.31: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.31: +13 -6 lines
MFC: run the shutdown scripts in reverse order; script_name_sep knob.

MFC of file revisions:
	rc		1.272
	rc.shutdown	1.17
	rc.conf		1.117
	rc.conf.5	1.113

Revision 1.212.2.31: download - view: text, markup, annotated - select for diffs
Tue Jul 24 09:49:37 2001 UTC (10 years, 6 months ago) by dd
Branches: RELENG_4
Diff to: previous 1.212.2.30: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.30: +1 -7 lines
Removing old, broken DEVFS from -stable phase one: remove support
code, everything under #ifdef DEVFS (and thus opt_devfs.h), and most
references to the DEVFS routines.  Code that really couldn't be
reached was left alone.  Removal of the actual DEVFS implementation
will come later.

Approved by:	-stable

Revision 1.212.2.30: download - view: text, markup, annotated - select for diffs
Mon Jul 23 10:02:12 2001 UTC (10 years, 6 months ago) by dd
Branches: RELENG_4
Diff to: previous 1.212.2.29: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.29: +4 -3 lines
MFC: syslogd_program and inetd_program

Revision 1.272: download - view: text, markup, annotated - select for diffs
Tue Jul 17 14:33:50 2001 UTC (10 years, 6 months ago) by roam
Branches: MAIN
Diff to: previous 1.271: preferred, colored
Changes since revision 1.271: +13 -6 lines
Add a script_name_sep rc.conf knob to specify the IFS character
for separating the startup scripts' list into individual filenames.

Run the shutdown scripts in reverse alphabetical order, so dependent
services are stopped before the services they depend upon.

Reviewed by:	-arch, -audit
MFC after:	3 weeks

Revision 1.271: download - view: text, markup, annotated - select for diffs
Thu Jun 28 06:43:47 2001 UTC (10 years, 7 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.270: preferred, colored
Changes since revision 1.270: +2 -2 lines
Reduce chattiness of entropy file mechanism with extreme prejudice.

Reviewed by:	USENIX Cabal (peter, jhb, wpaul, et al)

Revision 1.270: download - view: text, markup, annotated - select for diffs
Thu Jun 28 03:32:09 2001 UTC (10 years, 7 months ago) by dd
Branches: MAIN
Diff to: previous 1.269: preferred, colored
Changes since revision 1.269: +4 -3 lines
Introduce syslogd_program and inetd_program variables in case somebody
wants to replace one of those programs.

PR:		13609
Submitted by:	Goran Lowkrantz <goran.lowkrantz@infologigruppen.se>

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jun 22 17:27:58 2001 UTC (10 years, 7 months ago) by obrien
Branches: NETBSD
CVS tags: head_20010615
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +34 -165 lines
Import the NetBSD 1.5 RC system on a vendor branch.

Revision 1.212.2.29: download - view: text, markup, annotated - select for diffs
Sun Jun 10 12:10:13 2001 UTC (10 years, 8 months ago) by sheldonh
Branches: RELENG_4
Diff to: previous 1.212.2.28: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.28: +11 -24 lines
MFC rev 1.269: back out support for smbfs auto mounts.

Revision 1.269: download - view: text, markup, annotated - select for diffs
Sun Jun 10 12:09:11 2001 UTC (10 years, 8 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.268: preferred, colored
Changes since revision 1.268: +11 -22 lines
Back out rev 1.268.

Requested by:	wollman, rwatson

Revision 1.212.2.28: download - view: text, markup, annotated - select for diffs
Sat Jun 9 09:50:20 2001 UTC (10 years, 8 months ago) by sheldonh
Branches: RELENG_4
Diff to: previous 1.212.2.27: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.27: +24 -11 lines
MFC rev 1.268: support smbfs auto mounts in /etc/fstab

Revision 1.268: download - view: text, markup, annotated - select for diffs
Sat Jun 9 09:47:05 2001 UTC (10 years, 8 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.267: preferred, colored
Changes since revision 1.267: +22 -11 lines
Fix /etc/rc so that all remote filesystems, not just NFS, are mounted
after the network is configured.

Future remote filesystem types should be added to remote_fstypes, which
is a whitespace-delimited list of type:description pairs.

The specific problem this fixes right now is that smbfs mounts described
in /etc/ftsab were failing.

Revision 1.267: download - view: text, markup, annotated - select for diffs
Sun Jun 3 20:15:10 2001 UTC (10 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +9 -1 lines
Add diskcheckd to /etc/rc with a knob in rc.conf.

Make the default setting YES for now to get some experience with it.

Note: If people starts seeing disk errors because of this then it
should not be backed.

Revision 1.212.2.27: download - view: text, markup, annotated - select for diffs
Thu May 31 21:12:23 2001 UTC (10 years, 8 months ago) by brian
Branches: RELENG_4
Diff to: previous 1.212.2.26: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.26: +6 -3 lines
MFC: Delete everything that's not a directory in /var/run and /var/spool/lock
     at boot time.

Revision 1.212.2.26: download - view: text, markup, annotated - select for diffs
Wed May 30 13:15:06 2001 UTC (10 years, 8 months ago) by yar
Branches: RELENG_4
Diff to: previous 1.212.2.25: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.25: +2 -2 lines
MFC rev. 1.266:
Don't confuse the admin with spurious error messages
about non-existent mount directories (which would come
into existence after the real mount has occured) when just
testing for if there are any NFS filesystems in /etc/fstab.

PR:             bin/26597
Submitted by:   Dmitry Morozovsky <marck@rinet.ru>

Revision 1.266: download - view: text, markup, annotated - select for diffs
Sun May 27 22:50:22 2001 UTC (10 years, 8 months ago) by yar
Branches: MAIN
Diff to: previous 1.265: preferred, colored
Changes since revision 1.265: +2 -2 lines
Don't confuse the admin with spurious error messages
about non-existent mount directories (which would come
into existence after the real mount has occured) when just
testing for if there are any NFS filesystems in /etc/fstab.

PR:		bin/26597
Submitted by:	Dmitry Morozovsky <marck@rinet.ru>
MFC after:	3 days

Revision 1.265: download - view: text, markup, annotated - select for diffs
Tue May 22 00:05:45 2001 UTC (10 years, 8 months ago) by dd
Branches: MAIN
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +16 -7 lines
Introduce a background_fsck rc.conf option which allows the user to
enable or disable background fsck'ing all in one shot.  Default is
currently 'YES'.

Reviewed by:	jkh

Revision 1.264: download - view: text, markup, annotated - select for diffs
Sun May 13 20:43:30 2001 UTC (10 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.263: preferred, colored
Changes since revision 1.263: +2 -4 lines
Back out rev 1.260.  The 'streams' module is a registered dependency of
the 'svr4' module already.  This was a 4.x-only problem and should not
have been MFS'ed.

Revision 1.263: download - view: text, markup, annotated - select for diffs
Fri May 11 07:40:39 2001 UTC (10 years, 9 months ago) by mckusick
Branches: MAIN
Diff to: previous 1.262: preferred, colored
Changes since revision 1.262: +8 -2 lines
Update the fsck command in /etc/rc to use the new background
fsck checking. Applying these changes (typically via mergemaster)
will cause your system to start running background checks on all
your soft update enabled filesystems (provided that you have
a kernel with the required functionality, e.g., one built since
the end of April). Please report any and all problems to
mckusick@mckusick.com (not mckusick@freebsd.org which I read
infrequently). See the comment above the fsck command in /etc/rc
for instructions on how to disable background checking should it
cause you too much trouble.

Several FAQs:

1) Can I reboot before the background checks are done?

Ans) Yes, when the system restarts the checks will pick up
     where they left off.

2) Can a crash during checking corrupt my filesystem?

Ans) No, recovered resources are returned to the system using soft
     updates which ensure that the freeing is done in a safe order.

3) How will I know if any background checks are being done?

Ans) Filesystems that are to be checked in background will be listed
     as `DEFER FOR BACKGROUND CHECKING' at the usual fsck check time
     during system startup.

4) What happens to the output of the background checks?

Ans) It is sent to syslog `daemon' facility log level `notice'.

5) When will this feature be available in the 4.X kernel?

Ans) Never. It is much too radical and extensive a change to be
     MFC'ed. Besides, it needs many months of experience and
     tuning before it is ready for widespread use.

6) What happens if a background fsck fails (i.e., fsck finds
   errors that would normally require a manual fsck)?

Ans) The filesystem will be marked as needing a manual fsck.
     At the next system reboot, the check will be done in
     foreground and the usual actions taken (usually a failure
     to go multi-user until fsck has been run by hand on the
     affected filesystem).

Revision 1.262: download - view: text, markup, annotated - select for diffs
Thu May 10 09:25:10 2001 UTC (10 years, 9 months ago) by brian
Branches: MAIN
Diff to: previous 1.261: preferred, colored
Changes since revision 1.261: +6 -3 lines
Delete everything that's not a directory in /var/run and /var/spool/lock
at boot time.

MFC after: 3 weeks

Revision 1.212.2.25: download - view: text, markup, annotated - select for diffs
Wed May 9 07:24:47 2001 UTC (10 years, 9 months ago) by brian
Branches: RELENG_4
Diff to: previous 1.212.2.24: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.24: +2 -2 lines
Remove sockets as well as regular files in /var/run and /var/spool/lock
at boot time.  This restores the pre-4.3 behaviour.

Revision 1.212.2.24: download - view: text, markup, annotated - select for diffs
Wed Apr 25 09:19:03 2001 UTC (10 years, 9 months ago) by nik
Branches: RELENG_4
Diff to: previous 1.212.2.23: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.23: +2 -2 lines
Use vnconfig's "swap" feature to turn on swapping, instead of "&& swapon"
on the command line.

Revision 1.212.2.23: download - view: text, markup, annotated - select for diffs
Tue Apr 17 15:52:28 2001 UTC (10 years, 9 months ago) by luigi
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.212.2.22: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.22: +11 -8 lines
Fixes for diskless support.
in /etc/rc, let rc.diskless2 do the necessary mounts instead of
running mount -a -t nonfs

in /etc/rc.diskless2, do the various mounts in the right order

Approved-by: jkh

Revision 1.261: download - view: text, markup, annotated - select for diffs
Sun Apr 15 13:44:05 2001 UTC (10 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.260: preferred, colored
Changes since revision 1.260: +2 -2 lines
In the /etc/rc startup script a soft link is created from /var/run/log to
/dev/log like this: if [ ! -h /dev/log ];
The man page for test(1) says that the -h switch is depracated and that
users should NOT rely on it being available. It suggest the -L switch instead.
They both do the same thing: check for the existence of the symbolic link.

PR:		26596
Submitted by:	mikem <mike_makonnen@yahoo.com>

Revision 1.260: download - view: text, markup, annotated - select for diffs
Sat Apr 14 12:26:03 2001 UTC (10 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.259: preferred, colored
Changes since revision 1.259: +4 -2 lines
MFS: deal with svr4 module's dependency on streams module

Revision 1.212.2.22: download - view: text, markup, annotated - select for diffs
Sat Apr 14 02:32:22 2001 UTC (10 years, 9 months ago) by jkh
Branches: RELENG_4
Diff to: previous 1.212.2.21: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.21: +4 -2 lines
MFC: load streams before svr4

Revision 1.259: download - view: text, markup, annotated - select for diffs
Tue Apr 10 16:15:01 2001 UTC (10 years, 10 months ago) by ru
Branches: MAIN
Diff to: previous 1.258: preferred, colored
Changes since revision 1.258: +3 -3 lines
vnconfig(8) -> mdconfig(8).

Reviewed by:	phk

Revision 1.258: download - view: text, markup, annotated - select for diffs
Wed Mar 28 10:13:26 2001 UTC (10 years, 10 months ago) by brian
Branches: MAIN
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +2 -2 lines
Remove sockets found in /var/run or /var/spool/lock at boot time
(as well as files).

Revision 1.257: download - view: text, markup, annotated - select for diffs
Tue Mar 13 05:53:16 2001 UTC (10 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +18 -9 lines
At great personal risk, touch the sendmail startup again.  This adds easy
seperate knobs for inbound (accepting SMTP connections) and outbound (just
occasionally dequeueing) sendmail daemon startup.

Revision 1.256: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:18:00 2001 UTC (10 years, 11 months ago) by dougb
Branches: MAIN
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +3 -3 lines
Add flags option for savecore.

Submitted by:	David A. Panariti <davep@who.net>

Revision 1.255: download - view: text, markup, annotated - select for diffs
Sat Mar 10 13:45:28 2001 UTC (10 years, 11 months ago) by markm
Branches: MAIN
Diff to: previous 1.254: preferred, colored
Changes since revision 1.254: +4 -4 lines
The /dev/random harvesting sysctls have had a name change.
Reflect this.

Revision 1.254: download - view: text, markup, annotated - select for diffs
Sat Mar 10 05:33:37 2001 UTC (10 years, 11 months ago) by dougb
Branches: MAIN
Diff to: previous 1.253: preferred, colored
Changes since revision 1.253: +11 -49 lines
Avoid complicated tests of whether devices are present or not, and
enable all harvesting options by default since having them on for
devices not present doesn't hurt anything. Leave them on by default
since for the most part they are not producing noticable slowdown,
and are about to get a lot more efficient.

Re-order part of the cheesy entropy process in preparation for
its complete removal.

Revision 1.212.2.21: download - view: text, markup, annotated - select for diffs
Wed Mar 7 20:13:56 2001 UTC (10 years, 11 months ago) by jkh
Branches: RELENG_4
Diff to: previous 1.212.2.20: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.20: +5 -5 lines
MFC: move dev_mkdb earlier to avoid warnings.

Revision 1.212.2.20: download - view: text, markup, annotated - select for diffs
Tue Mar 6 02:13:30 2001 UTC (10 years, 11 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.212.2.19: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.19: +8 -6 lines
MFC: 1.230: Only whack pseudo-terminals into shape if they exist.  They might
            not yet exist in the DEVFS case.
     1.244: Apply a more consistent style to the echo statements in /etc/

Revision 1.212.2.19: download - view: text, markup, annotated - select for diffs
Tue Mar 6 02:06:05 2001 UTC (10 years, 11 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.212.2.18: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.18: +1 -27 lines
Blah! got double copyrights on this one

Revision 1.212.2.18: download - view: text, markup, annotated - select for diffs
Tue Mar 6 01:58:44 2001 UTC (10 years, 11 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.212.2.17: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.17: +27 -1 lines
MFC: add copyright notices

Revision 1.212.2.17: download - view: text, markup, annotated - select for diffs
Mon Mar 5 06:04:12 2001 UTC (10 years, 11 months ago) by dougb
Branches: RELENG_4
Diff to: previous 1.212.2.16: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.16: +19 -3 lines
MFC the ability to tell rc to fsck -y if the initial preen
of the filesystems fail.

Revision 1.212.2.16: download - view: text, markup, annotated - select for diffs
Mon Mar 5 05:56:41 2001 UTC (10 years, 11 months ago) by dougb
Branches: RELENG_4
Diff to: previous 1.212.2.15: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.15: +2 -2 lines
MFC the ability to specify the specific cron program to run, and
flags to supply to it.

Revision 1.253: download - view: text, markup, annotated - select for diffs
Thu Mar 1 13:19:48 2001 UTC (10 years, 11 months ago) by dougb
Branches: MAIN
Diff to: previous 1.252: preferred, colored
Changes since revision 1.252: +79 -1 lines
Add code to turn on the entropy harvesting sysctl's as early as possible
during the boot process. We're turning it on by default, based on the
actual presence of a configured ethernet card, and/or ppp/tun devices.
Of course, it's easy to disable in rc.conf.

Revision 1.212.2.15: download - view: text, markup, annotated - select for diffs
Wed Feb 28 18:44:47 2001 UTC (10 years, 11 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.212.2.14: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.14: +30 -1 lines
MFC: rev 1.240-243 & 1.246 which adds an auto dependency framework and
     entries for NFS and NIS services.

Revision 1.212.2.14: download - view: text, markup, annotated - select for diffs
Tue Feb 27 20:03:28 2001 UTC (10 years, 11 months ago) by jhb
Branches: RELENG_4
Diff to: previous 1.212.2.13: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.13: +7 -1 lines
MFC: Move the syscons configuration to a machine independent rc.syscons.

Revision 1.212.2.13: download - view: text, markup, annotated - select for diffs
Tue Feb 13 22:31:19 2001 UTC (10 years, 11 months ago) by brian
Branches: RELENG_4
Diff to: previous 1.212.2.12: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.12: +2 -3 lines
MFC: purgedir /var/run rather than rm /var/run/*

Revision 1.252: download - view: text, markup, annotated - select for diffs
Mon Feb 5 04:54:41 2001 UTC (11 years ago) by dougb
Branches: MAIN
Diff to: previous 1.251: preferred, colored
Changes since revision 1.251: +19 -3 lines
Introduce the option of running fsck -y if the initial preen fails.
Defaults to off.

Obtained from:	Yahoo!

Revision 1.251: download - view: text, markup, annotated - select for diffs
Tue Jan 30 10:07:03 2001 UTC (11 years ago) by brian
Branches: MAIN
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +2 -3 lines
Run purgedir (a local function) on /var/run instead of rm /var/run/*

PR:		24612
Submitted by:	David Drum <david@mu.org>

Revision 1.212.2.12: download - view: text, markup, annotated - select for diffs
Sun Jan 28 20:57:30 2001 UTC (11 years ago) by jdp
Branches: RELENG_4
Diff to: previous 1.212.2.11: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.11: +9 -3 lines
MFC: Add a knob "ldconfig_insecure" to control whether the ldconfig
security checks are bypassed or not.

Merges in the following revisions from the main branch:

    rc                  1.224
    defaults/rc.conf    1.74

Revision 1.250: download - view: text, markup, annotated - select for diffs
Sun Jan 21 20:57:13 2001 UTC (11 years ago) by dougb
Branches: MAIN
Diff to: previous 1.249: preferred, colored
Changes since revision 1.249: +2 -2 lines
Add the options of which cron program to run, and specifying flags
to it.

PR:		conf/24358
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>

Revision 1.249: download - view: text, markup, annotated - select for diffs
Tue Jan 16 20:05:02 2001 UTC (11 years ago) by des
Branches: MAIN
Diff to: previous 1.248: preferred, colored
Changes since revision 1.248: +11 -1 lines
Add a sysvipc_enable variable that causes the SysV IPC modules to be loaded.

Reviewed by:	dougb

Revision 1.212.2.11: download - view: text, markup, annotated - select for diffs
Sun Jan 14 09:45:24 2001 UTC (11 years ago) by dougb
Branches: RELENG_4
Diff to: previous 1.212.2.10: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.10: +32 -27 lines
MFC, Apply a more consistent style to the echo statements in /etc/ scripts.

Also MFC, Test whether /var/msgs/bounds is a link before overwriting it

Revision 1.248: download - view: text, markup, annotated - select for diffs
Sun Jan 14 07:18:20 2001 UTC (11 years ago) by dougb
Branches: MAIN
Diff to: previous 1.247: preferred, colored
Changes since revision 1.247: +34 -55 lines
Move the process of storing entropy from /dev/random and reseeding with
it at boot time closer to the way we want it to be in the final version.

* Move the default directory to /var/db/entropy
* Run the entropy saving cron job every 11 minutes. This seems
  to be a better default, although still bikeshed material.
* Feed /dev/random some cheesy "entropy" from various commands
  and files before the disks are mounted. This gives /dev/random
  a better chance of running without blocking early.
* Move the reseeding with previously stored entropy to the point
  immediately after the disks are mounted.
* Make the harvesting script a little safer in regards to the
  possibility of accidentally overwriting something other
  than a regular file.

Revision 1.247: download - view: text, markup, annotated - select for diffs
Thu Jan 11 13:00:41 2001 UTC (11 years, 1 month ago) by dougb
Branches: MAIN
Diff to: previous 1.246: preferred, colored
Changes since revision 1.246: +27 -11 lines
Add a system to save entropy from /dev/random periodically so that
it can be used to reseed at boot time. This will greatly increase
the chances that there will be sufficient entropy available at
boot time to prevent long delays.

For /etc/rc, remove the vmstat and iostat runs from the attempt
to provide some cheesy randomness if the files fail, since
those programs are dynamically linked, and ldd seems to want
some randomness to do its magic.

Guidance and parameters for this project were provided by
Mark Murray, based on the requirements of the Yarrow
algorithm. Some helpful suggestions for implementation
(including the tip about iostat and vmstat) were provided
by Sheldon Hearn. All blame for problems or mistakes is
mine of course.

Revision 1.246: download - view: text, markup, annotated - select for diffs
Thu Jan 11 02:11:14 2001 UTC (11 years, 1 month ago) by bsd
Branches: MAIN
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +3 -1 lines
Add portmap as a dependency for NIS client and server.

Requested by:	gallatin

Revision 1.245: download - view: text, markup, annotated - select for diffs
Tue Jan 9 22:28:17 2001 UTC (11 years, 1 month ago) by jhb
Branches: MAIN
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +7 -1 lines
Move the syscons configuration to a machine independent rc.syscons.  The
syscons sh code was identical on both platforms except for whitespace
differences.

Revision 1.244: download - view: text, markup, annotated - select for diffs
Sun Dec 17 08:24:49 2000 UTC (11 years, 1 month ago) by dougb
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +36 -31 lines
In addition to:
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

Also:
* Use rm -f on /var/run/dev.db so if it's not there (devfs) it doesn't error
* Shorten the ldconfig messages so that the default fits on one line
* Test whether /var/msgs/bounds is a link before overwriting it
* Generally futz around with whitespace

Revision 1.212.2.10: download - view: text, markup, annotated - select for diffs
Sat Dec 16 06:55:45 2000 UTC (11 years, 1 month ago) by dougb
Branches: RELENG_4
Diff to: previous 1.212.2.9: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.9: +5 -3 lines
* MFC 1.240
* Tiny ws change, reduces diff to -current

PR:		misc/21904
Submitted by:	Anton Voronin <anton@urc.ac.ru>

Revision 1.243: download - view: text, markup, annotated - select for diffs
Wed Dec 13 19:17:54 2000 UTC (11 years, 1 month ago) by bsd
Branches: MAIN
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +20 -24 lines
Flesh out a simple framework for dependency checking rc.conf enabled
services.  Simple YES/NO style *_enable services are supported.

Reviewed by:	obrien

Revision 1.242: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:43:10 2000 UTC (11 years, 1 month ago) by bsd
Branches: MAIN
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +19 -4 lines
If portmap is started as a dependancy, echo a notice during boot.

Approved by:	obrien

Revision 1.241: download - view: text, markup, annotated - select for diffs
Mon Dec 11 22:47:50 2000 UTC (11 years, 2 months ago) by obrien
Branches: MAIN
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +16 -1 lines
Set portmap_enable if Amd or running as an NFS server is enabled.
This bites too many systems upgrading from our change in defaults.

Revision 1.212.2.9: download - view: text, markup, annotated - select for diffs
Thu Dec 7 15:19:17 2000 UTC (11 years, 2 months ago) by ru
Branches: RELENG_4
Diff to: previous 1.212.2.8: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.8: +2 -2 lines
MFC: (rev 1.232) Turn the verbose mode on for dumpon(8).

Revision 1.240: download - view: text, markup, annotated - select for diffs
Tue Nov 21 04:21:54 2000 UTC (11 years, 2 months ago) by dougb
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +4 -2 lines
Do a better job of preserving the value rc is called with
in the face of possible corruption by rc.diskless*.

PR:		misc/21904
Submitted by:	Anton Voronin, anton@urc.ac.ru

Revision 1.212.2.8: download - view: text, markup, annotated - select for diffs
Mon Oct 30 10:40:10 2000 UTC (11 years, 3 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE
Diff to: previous 1.212.2.7: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.7: +27 -1 lines
MFC: Add copyright.

Revision 1.239: download - view: text, markup, annotated - select for diffs
Sun Oct 22 19:10:13 2000 UTC (11 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +7 -3 lines
On DEVFS machines, the device name database is no use.

Revision 1.238: download - view: text, markup, annotated - select for diffs
Fri Oct 20 17:41:46 2000 UTC (11 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +3 -3 lines
Redirect the stderr of dd to /dev/null so the user doesn't see rather
weird dd output on bootup as /dev/random is being reseeded.  Also,
can't this happen in the background since /dev/random blocks?

Revision 1.237: download - view: text, markup, annotated - select for diffs
Wed Oct 18 05:29:26 2000 UTC (11 years, 3 months ago) by jwd
Branches: MAIN
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +3 -3 lines
Use dd to better block the data being sent to /dev/random.
Note: I am not redirecting stdout so that the amount of
      data being transferred can be seen (22k and 576k currently).

Revision 1.236: download - view: text, markup, annotated - select for diffs
Mon Oct 16 06:16:44 2000 UTC (11 years, 3 months ago) by jwd
Branches: MAIN
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +6 -4 lines
Style fix only.

init 6 vs. /sbin/reboot problem still exists (pr 14829)

Submitted by:	Doug Barton <DougB@gorean.org>

Revision 1.235: download - view: text, markup, annotated - select for diffs
Mon Oct 16 04:44:35 2000 UTC (11 years, 3 months ago) by jwd
Branches: MAIN
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +46 -14 lines
Having played with this commit request for a few hours, I've
convinced myself that it's better then what we have, but still
not perfect.

/etc/rc  : Attempt to seed /dev/random with multiple backoffs.

/etc/rc.shutdown : Attempt to write the entropy_file.

In debugging the above changes, I've run into some
inconsistancies... rc.shutdown is run via 'init 6', but
does not appear to be run via '/sbin/reboot'. Thus, this
set of changes improves life depending on the mechanism
used to shut the system down.

Submitted by:	Doug Barton <DougB@gorean.org>
Approved by:	markm

Revision 1.234: download - view: text, markup, annotated - select for diffs
Sat Oct 14 12:56:08 2000 UTC (11 years, 3 months ago) by markm
Branches: MAIN
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +26 -15 lines
Reseed the random device as early as possible to prevent hangs,
and provide some form of entropy in case there is no seed file
to prevent a reboot from hanging unnecessarily.

Revision 1.233: download - view: text, markup, annotated - select for diffs
Thu Oct 12 21:40:04 2000 UTC (11 years, 4 months ago) by ache
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +5 -5 lines
"fix" savecore by moving dev_mkdb before it to allow device name sensing

Revision 1.232: download - view: text, markup, annotated - select for diffs
Thu Oct 12 10:34:59 2000 UTC (11 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +2 -2 lines
Turn the verbose mode on for dumpon(8).

Revision 1.231: download - view: text, markup, annotated - select for diffs
Sun Oct 8 19:18:24 2000 UTC (11 years, 4 months ago) by obrien
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +27 -1 lines
Add copyright notices.  Other systems have been barrowing our /etc files
w/o giving any credit.

Revision 1.230: download - view: text, markup, annotated - select for diffs
Mon Aug 21 14:37:52 2000 UTC (11 years, 5 months ago) by sheldonh
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +6 -4 lines
Only whack pseudo-terminals into shape if they exist.  They might
not yet exist in the DEVFS case.

Revision 1.229: download - view: text, markup, annotated - select for diffs
Mon Aug 21 14:33:20 2000 UTC (11 years, 5 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +2 -10 lines
After some discussion with markm, back out most of rev 1.221,
which really wasn't such a hot idea in retrospect.

If the random device isn't available, it probably isn't wanted.
If it's wanted, it should be enabled in loader.conf.

Revision 1.212.2.7: download - view: text, markup, annotated - select for diffs
Fri Aug 18 09:22:02 2000 UTC (11 years, 5 months ago) by sheldonh
Branches: RELENG_4
CVS tags: RELENG_4_1_1_RELEASE
Diff to: previous 1.212.2.6: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.6: +12 -3 lines
MFC rev 1.226 and rev 1.227: don't use module-loading shell scripts
and provide a missing "section" description.

Revision 1.228: download - view: text, markup, annotated - select for diffs
Fri Aug 18 08:53:26 2000 UTC (11 years, 5 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +1 -1 lines
(forced commit)

The previous change should have been attributed to:

PR:		20692
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

Revision 1.227: download - view: text, markup, annotated - select for diffs
Fri Aug 18 08:11:23 2000 UTC (11 years, 5 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +4 -1 lines
The output of this script got a little broken in rev 1.225, with
the output for the linux_enable and svr4_enable stuff "floating
in the middle of nowhere".

Give them their own section, called "additional ABI support".

Revision 1.226: download - view: text, markup, annotated - select for diffs
Fri Aug 18 08:07:02 2000 UTC (11 years, 5 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +9 -3 lines
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.

Revision 1.212.2.6: download - view: text, markup, annotated - select for diffs
Tue Aug 15 18:06:13 2000 UTC (11 years, 5 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.212.2.5: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.5: +18 -1 lines
MFC: move running of Linux and SVR4 bits to arch indepenent location

Revision 1.225: download - view: text, markup, annotated - select for diffs
Tue Aug 15 18:02:49 2000 UTC (11 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +18 -1 lines
Move the running of the Linux and SVR4 compat bits to the arch independent
location.

Sponsored by:   LinuxWorld frustration

Revision 1.212.2.5: download - view: text, markup, annotated - select for diffs
Tue Aug 15 11:02:11 2000 UTC (11 years, 5 months ago) by brian
Branches: RELENG_4
Diff to: previous 1.212.2.4: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.4: +23 -2 lines
MFC: Don't use find(1) before nfs filesystems are mounted

Revision 1.224: download - view: text, markup, annotated - select for diffs
Fri Aug 11 03:26:22 2000 UTC (11 years, 6 months ago) by jdp
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +9 -3 lines
Add an rc.conf knob "ldconfig_insecure" to disable ldconfig's
security checks.  Set the default to NO, i.e., secure.

Submitted by:	Maxime Henrion <mhenrion@cybercable.fr>

Revision 1.223: download - view: text, markup, annotated - select for diffs
Wed Aug 9 09:23:30 2000 UTC (11 years, 6 months ago) by brian
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +6 -4 lines
Improve purgedir():

  Fix leading & trailing space handling

  Suggested by: ben

  Handle files beginning with - correctly
  Don't follow symlinks (cd /var/spool/lock; ln -s /. horror)

Revision 1.222: download - view: text, markup, annotated - select for diffs
Tue Aug 8 13:30:27 2000 UTC (11 years, 6 months ago) by brian
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +21 -2 lines
Don't use find(1) before nfs filesystems have been mounted as
it lives in /usr/bin.  Instead, locate files manually.

Note, only *files* under /var/spool/lock are now deleted rather
than everything that's not a directory.  I think this is more
correct, but if anyone disagrees please feel free to change it.

Problem pointed out by: bde

Revision 1.221: download - view: text, markup, annotated - select for diffs
Mon Jul 24 13:40:41 2000 UTC (11 years, 6 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +11 -3 lines
If the initial attempt to write ${entropy_file} to /dev/random fails
and the randomdev.ko module is not resident, try to load the module and
perform the write again.

Reviewed by:	markm

Revision 1.220: download - view: text, markup, annotated - select for diffs
Mon Jul 17 13:39:48 2000 UTC (11 years, 6 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +3 -3 lines
Improve on previous commit:

Don't inhibit the trailing newline for entropy-related messages.
Try harder to save the seed file on shutdown.

Reviewed by:	markm

Revision 1.219: download - view: text, markup, annotated - select for diffs
Mon Jul 17 12:28:58 2000 UTC (11 years, 6 months ago) by markm
Branches: MAIN
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +15 -1 lines
Add entropy caching. With this, some entropy is cached at shutdown
time, and this is used to reseed the random number generator at
boot time.

NOTE - this has no hope of working if you halt(); you need to
execute rc.shutdown to get the entropy stash.

Revision 1.212.2.4: download - view: text, markup, annotated - select for diffs
Tue Jun 27 09:43:30 2000 UTC (11 years, 7 months ago) by asmodai
Branches: RELENG_4
CVS tags: RELENG_4_1_0_RELEASE
Diff to: previous 1.212.2.3: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.3: +9 -4 lines
MFC:	Fix source_rc_confs comment
	Fix NFS mounting shell code
	Fix /var/spoool/lock deletion

Reminded by:	Doug Barton <DougB@gorean.org>

Revision 1.218: download - view: text, markup, annotated - select for diffs
Thu Jun 8 08:57:35 2000 UTC (11 years, 8 months ago) by brian
Branches: MAIN
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +2 -2 lines
Don't attempt to rm directories under /var/spool/lock.

Revision 1.217: download - view: text, markup, annotated - select for diffs
Mon May 29 12:31:26 2000 UTC (11 years, 8 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +5 -3 lines
Sanitise NFS fs mounting for /usr NFS mounts.

Submitted by:	Doug Barton <DougB@gorean.org>
Reviewed by:	bde

Revision 1.212.2.3: download - view: text, markup, annotated - select for diffs
Sun May 28 19:17:15 2000 UTC (11 years, 8 months ago) by asmodai
Branches: RELENG_4
Diff to: previous 1.212.2.2: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.2: +2 -1 lines
MFC:	- add source_rc_confs

Reminded of, while working on the readline MFC, by:
	Mike Harding <mvh@ix.netcom.com>

Revision 1.212.2.2: download - view: text, markup, annotated - select for diffs
Sun May 28 14:07:40 2000 UTC (11 years, 8 months ago) by asmodai
Branches: RELENG_4
Diff to: previous 1.212.2.1: preferred, colored; branchpoint 1.212: preferred, colored
Changes since revision 1.212.2.1: +7 -5 lines
MFC:	- NFS fs mounting cleanup

Revision 1.169.2.21: download - view: text, markup, annotated - select for diffs
Thu May 11 06:36:27 2000 UTC (11 years, 9 months ago) by davidn
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE
Diff to: previous 1.169.2.20: preferred, colored; branchpoint 1.169: preferred, colored; next MAIN 1.170: preferred, colored
Changes since revision 1.169.2.20: +2 -2 lines
MFC: cosmetic change "reboot" -> "boot"

Revision 1.212.2.1: download - view: text, markup, annotated - select for diffs
Thu May 11 06:35:13 2000 UTC (11 years, 9 months ago) by davidn
Branches: RELENG_4
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +2 -2 lines
MFC: cosmetic change "reboot" -> "boot"

Revision 1.216: download - view: text, markup, annotated - select for diffs
Thu May 11 06:31:59 2000 UTC (11 years, 9 months ago) by davidn
Branches: MAIN
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +2 -2 lines
Pedantic change: "reboot" -> "boot"

Revision 1.215: download - view: text, markup, annotated - select for diffs
Thu Apr 27 08:43:47 2000 UTC (11 years, 9 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +5 -1 lines
Add to defaults/rc.conf a new function source_rc_confs which rc
scripts may use to source safely overrides in ${rc_conf_files}
files.

This protects users who insist on the bad practice of copying
/etc/defaults/rc.conf to /etc/rc.conf from a recursive loop
that exhausts available file descriptors.

Several people have expressed interest in breaking this function
out into its own shell script.  Anyone who wants to embark on
such an undertaking would do well to study the attributed PR.

PR:		17595
Reported by:	adrian
Submitted by:	Doug Barton <Doug@gorean.org>

Revision 1.214: download - view: text, markup, annotated - select for diffs
Mon Mar 27 16:36:25 2000 UTC (11 years, 10 months ago) by dan
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +2 -2 lines
s/grep/grep -q

Submitted by: ru

Revision 1.213: download - view: text, markup, annotated - select for diffs
Sat Mar 25 16:17:53 2000 UTC (11 years, 10 months ago) by dan
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +7 -5 lines
Only tell the user that we're Mounting NFS file systems when we have NFS
file systems to mount.

PR: 17594
Submitted by: Doug Barton <Doug@gorean.org>

Revision 1.212: download - view: text, markup, annotated - select for diffs
Mon Feb 28 19:54:06 2000 UTC (11 years, 11 months ago) by markm
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +10 -1 lines
Get the order of things right; the keys need to be generated
early to allow entropy to replenish.
sshd must start late to catch the full effects of ldconfig.

Revision 1.211: download - view: text, markup, annotated - select for diffs
Wed Feb 23 18:05:57 2000 UTC (11 years, 11 months ago) by shin
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +10 -1 lines
Add IPv6 configuration scripts.

Initial version created by, and kindly much tested by:
	bmah@CA.Sandia.GOV (Bruce A. Mah)

Approved by: jkh

Reviewed by: bmah@CA.Sandia.GOV (Bruce A. Mah),
	Ollivier Robert <roberto@keltia.freenix.fr>
Obtained from: KAME project

Revision 1.210: download - view: text, markup, annotated - select for diffs
Thu Feb 3 06:06:36 2000 UTC (12 years ago) by nsayer
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +2 -2 lines
/dev/vn0b is a character device now.

Approved by:	jkh

Revision 1.209: download - view: text, markup, annotated - select for diffs
Sat Jan 15 14:28:05 2000 UTC (12 years ago) by green
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +5 -39 lines
This is another in Martin Blapp's N-series of mount-related cleanups :)
Changes are:
 - rpc.umntall is called at the right places now in /etc/rc*
 - rpc.umntall timeout has been lowered from two days (too high) to one
 - verbose messages in rpc.umntall have been clarified
 - kill double entries in /var/db/mounttab when rpc.umntall is invoked
 - ${early_nfs_mounts} has been removed from /etc/rc
 - patched mount(8) -p to print different pass/dump values for ufs filesystems.
   (last patch recieved from dan <bugg@bugg.strangled.net>)

Submitted by:	Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>

Revision 1.104.2.42: download - view: text, markup, annotated - select for diffs
Thu Jan 6 14:30:24 2000 UTC (12 years, 1 month ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.104.2.41: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.41: +3 -3 lines
MFC: don't break filenames with spaces into seperate arguments.

Revision 1.169.2.20: download - view: text, markup, annotated - select for diffs
Thu Jan 6 14:29:08 2000 UTC (12 years, 1 month ago) by peter
Branches: RELENG_3
Diff to: previous 1.169.2.19: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.19: +3 -3 lines
MFC: avoid breaking filenames with spaces in to seperate arguments.

Revision 1.208: download - view: text, markup, annotated - select for diffs
Thu Jan 6 14:27:37 2000 UTC (12 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +3 -3 lines
Third try..  Avoid filenames with spaces in them.

PR:		15937
Pointed out by:	Koga Youichirou <y-koga@jp.FreeBSD.org>

Revision 1.207: download - view: text, markup, annotated - select for diffs
Wed Jan 5 09:19:27 2000 UTC (12 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +2 -2 lines
Missed a filename variable quote in rc

Revision 1.104.2.41: download - view: text, markup, annotated - select for diffs
Wed Jan 5 09:18:20 2000 UTC (12 years, 1 month ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.104.2.40: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.40: +8 -8 lines
MFC: quote filename variables in vi recovery

Revision 1.169.2.19: download - view: text, markup, annotated - select for diffs
Wed Jan 5 09:16:48 2000 UTC (12 years, 1 month ago) by peter
Branches: RELENG_3
Diff to: previous 1.169.2.18: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.18: +8 -8 lines
MFC: quote filename variables in vi recovery

Revision 1.206: download - view: text, markup, annotated - select for diffs
Wed Jan 5 08:17:18 2000 UTC (12 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +4 -4 lines
Quote arguments in vi recover script.

PR:		15901
Submitted by:	KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>

Revision 1.205: download - view: text, markup, annotated - select for diffs
Mon Dec 27 07:43:07 1999 UTC (12 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +1 -2 lines
Remove kvm_mkdb as it isn't installed anymore.  libkvm asks directly
via kldsym(2), and crash dumps use nlist directly (and always have).

Revision 1.204: download - view: text, markup, annotated - select for diffs
Sun Dec 19 22:05:32 1999 UTC (12 years, 1 month ago) by obrien
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +2 -2 lines
Install sendmail.cf into /etc/mail.

The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change.  It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.

Ok'ed by:	Peter (quite a while ago)

Revision 1.203: download - view: text, markup, annotated - select for diffs
Tue Nov 30 03:34:01 1999 UTC (12 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +8 -4 lines
Call rpc.umntall only if nfs_client_enable, hang occurse otherwise

Revision 1.169.2.18: download - view: text, markup, annotated - select for diffs
Wed Nov 24 03:52:00 1999 UTC (12 years, 2 months ago) by jkoshy
Branches: RELENG_3
CVS tags: RELENG_3_4_0_RELEASE
Diff to: previous 1.169.2.17: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.17: +1 -3 lines
MFC: Remove the "vinum_drives" rc.conf knob.
   { rev 1.199 src/etc/rc; rev 1.37 src/etc/defaults/rc.conf }

Revision 1.202: download - view: text, markup, annotated - select for diffs
Mon Nov 22 04:23:08 1999 UTC (12 years, 2 months ago) by dillon
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +25 -4 lines
    Finish up umntall support.  init now passed an argument to the
    rundown script 'reboot' or 'single'.  ISO support (which never
    worked) has been removed from mount_nfs.  mount_nfs and umount
    now use mounttab, which allows umntall to work properly.  The
    rc scripts now call umntall as appropriate.

Submitted by:	Martin Blapp <mb@imp.ch>

Revision 1.201: download - view: text, markup, annotated - select for diffs
Wed Nov 17 22:38:01 1999 UTC (12 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +5 -1 lines
Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)
daemons started. Move log_in_vain option there. It is needed to avoid
lot of connections to port 80 logged on production WWW server prior
Apache started from /usr/local/etc/rc.d

Revision 1.200: download - view: text, markup, annotated - select for diffs
Fri Sep 24 06:49:00 1999 UTC (12 years, 4 months ago) by nsayer
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +30 -30 lines
Slight reordering of /etc/rc order: It now goes

...
recover vi
msgs/bounds
update MOTD
rc.{arch}
rc.devfs
rc.local
$local.startup
securelevel

The motive behind this is to delay rc.{arch} as long as possible,
as it loads the screensaver, which kills the splash screen.
But at the same time, it can't be done after rc.devfs, as
that might depend on arch specific actions. rc.local and local.startup
also should come after these, and securelevel must be last of all.

Revision 1.199: download - view: text, markup, annotated - select for diffs
Wed Sep 22 06:31:31 1999 UTC (12 years, 4 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +1 -6 lines
Remove the "vinum_drives" rc.conf knob.  According to Greg <grog@lemis.com>
this is no longer the right way to start Vinum unless you are doing some
kind of maintenance, and that's not the sort of thing that would go into
rc.conf.

Revision 1.198: download - view: text, markup, annotated - select for diffs
Mon Sep 13 15:44:18 1999 UTC (12 years, 5 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +249 -153 lines
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>

Revision 1.169.2.17: download - view: text, markup, annotated - select for diffs
Sun Sep 12 22:44:16 1999 UTC (12 years, 5 months ago) by roberto
Branches: RELENG_3
CVS tags: RELENG_3_3_0_RELEASE
Diff to: previous 1.169.2.16: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.16: +2 -2 lines
MFC: check for /var/msgs before trying to create a file in it.

PR:		bin/13184
Submitted by:	"Stephen J. Roznowski" <sjr@home.net>

Revision 1.197: download - view: text, markup, annotated - select for diffs
Sun Sep 12 18:13:11 1999 UTC (12 years, 5 months ago) by roberto
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +2 -2 lines
This fix adds checking for the existance of the /var/msgs
directory before attempting to create the bounds file.

PR:		bin/13184
Submitted by:	"Stephen J. Roznowski" <sjr@home.net>

Revision 1.66.4.17: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:02:52 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.16: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.16: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.104.2.40: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:01:58 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.104.2.39: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.39: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.169.2.16: download - view: text, markup, annotated - select for diffs
Thu Sep 2 08:53:31 1999 UTC (12 years, 5 months ago) by imp
Branches: RELENG_3
Diff to: previous 1.169.2.15: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.15: +8 -2 lines
MFC: fix DoS in boot sequence; implement rc.sysctl; don't use /tmp for
motd creation.

Revision 1.196: download - view: text, markup, annotated - select for diffs
Mon Aug 30 03:34:46 1999 UTC (12 years, 5 months ago) by imp
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +2 -1 lines
Remove all non-file like things in /var/tmp/vi.recover on reboot.

Revision 1.169.2.15: download - view: text, markup, annotated - select for diffs
Sun Aug 29 14:18:54 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
Diff to: previous 1.169.2.14: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.14: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.195: download - view: text, markup, annotated - select for diffs
Fri Aug 27 23:23:43 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.194: download - view: text, markup, annotated - select for diffs
Wed Aug 25 16:01:33 1999 UTC (12 years, 5 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +54 -54 lines
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

Revision 1.193: download - view: text, markup, annotated - select for diffs
Fri Aug 6 06:22:43 1999 UTC (12 years, 6 months ago) by peter
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +2 -2 lines
Perhaps I should have looked at the whole file rather than just the delta.
Use -eq rather than -ne.

Obtained from: OpenBSD (millert, etc/rc rev 1.104)

Revision 1.192: download - view: text, markup, annotated - select for diffs
Fri Aug 6 06:20:19 1999 UTC (12 years, 6 months ago) by peter
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +2 -2 lines
I don't think `customify' is a real word.

Revision 1.191: download - view: text, markup, annotated - select for diffs
Fri Aug 6 06:16:06 1999 UTC (12 years, 6 months ago) by peter
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +11 -8 lines
Don't use /tmp/_motd in the aftermath of the chflags(2) revelations.

Obtained from: OpenBSD (millert etc/rc rev 1.102 and hugh)

Revision 1.104.2.39: download - view: text, markup, annotated - select for diffs
Wed Aug 4 19:03:30 1999 UTC (12 years, 6 months ago) by dima
Branches: RELENG_2_2
Diff to: previous 1.104.2.38: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.38: +3 -1 lines
MFC: rev 1.190 and rev 1.181

Revision 1.169.2.14: download - view: text, markup, annotated - select for diffs
Mon Aug 2 05:47:09 1999 UTC (12 years, 6 months ago) by imp
Branches: RELENG_3
Diff to: previous 1.169.2.13: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.13: +2 -1 lines
MFC: 1.190

Revision 1.190: download - view: text, markup, annotated - select for diffs
Mon Aug 2 05:42:44 1999 UTC (12 years, 6 months ago) by imp
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +2 -1 lines
Clear flags on psuedo terminals before trying to chmod and chown them.

Revision 1.169.2.13: download - view: text, markup, annotated - select for diffs
Mon Jun 21 16:05:14 1999 UTC (12 years, 7 months ago) by sheldonh
Branches: RELENG_3
Diff to: previous 1.169.2.12: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.12: +3 -3 lines
MFC: Don't allow users to prevent the updating of /etc/motd .

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Jun 21 15:59:42 1999 UTC (12 years, 7 months ago) by sheldonh
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +3 -3 lines
Don't allow users to prevent the updating of /etc/motd on machines for
which /tmp is not mounted in MFS, clear_tmp_enable="NO" and
update_motd="YES".

PR:	10005
Submitted by:	Anton Voronin <anton@urc.ac.ru>

Revision 1.169.2.12: download - view: text, markup, annotated - select for diffs
Tue Jun 1 13:27:37 1999 UTC (12 years, 8 months ago) by brian
Branches: RELENG_3
Diff to: previous 1.169.2.11: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.11: +3 -2 lines
MFC: Ignore the quota.user and quota.group files rather than the
     ``quotas'' file when cleaning /tmp.

Revision 1.188: download - view: text, markup, annotated - select for diffs
Tue Jun 1 10:47:53 1999 UTC (12 years, 8 months ago) by brian
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +3 -2 lines
Ignore the quota.user and quota.group files rather than the
``quotas'' file when cleaning /tmp.

Revision 1.169.2.11: download - view: text, markup, annotated - select for diffs
Mon May 3 08:13:26 1999 UTC (12 years, 9 months ago) by grog
Branches: RELENG_3
CVS tags: RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE
Diff to: previous 1.169.2.10: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.10: +4 -2 lines
MFC:  Add variable start_vinum.  If set to YES, it will start vinum and
automagically find all the partitions.  This is to be preferred to the
somewhat emetic usage of vinum_slices and the equally obnoxious 'vinum
read' command.

Prodded-by: Don Lewis <Don.Lewis@tsc.tdk.com>

Revision 1.169.2.10: download - view: text, markup, annotated - select for diffs
Mon Apr 12 15:55:56 1999 UTC (12 years, 10 months ago) by cracauer
Branches: RELENG_3
Diff to: previous 1.169.2.9: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.9: +3 -2 lines
MFC: Use `sh -T` flag.

Revision 1.187: download - view: text, markup, annotated - select for diffs
Fri Apr 2 09:35:34 1999 UTC (12 years, 10 months ago) by cracauer
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +3 -2 lines
Break lines to be < 80 chars.

Submitted by:	BDE

Revision 1.186: download - view: text, markup, annotated - select for diffs
Fri Apr 2 07:15:43 1999 UTC (12 years, 10 months ago) by grog
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +4 -2 lines
Add variable start_vinum.  If set to YES, it will start vinum and
automagically find all the partitions.  This is to be preferred to the
somewhat emetic usage of vinum_slices and the equally obnoxious 'vinum
read' command.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Thu Apr 1 13:30:29 1999 UTC (12 years, 10 months ago) by cracauer
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +3 -3 lines
Use new -T switch to turn on immediate interruptibilty in shell
scripts. Also, the ugly 'echo -n' hack to prevent sh from a wrong
optimization isn't needed anymore.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Sun Mar 28 20:36:03 1999 UTC (12 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +6 -1 lines
Add two features:
    log_in_vain:
	log_in_vain turns on logging for packets to ports for which
	there is no listener.
    rc.sysctl:
	A generic way to set sysctl values.  It reads /etc/syslog.conf
	and sets values based on that.  No /etc/syslog.conf has been
	checked in yet, and I've not added this to the makefile yet
	until I get more feedback.

Reviewed by: -current, -hackers and bde especially

Revision 1.169.2.9: download - view: text, markup, annotated - select for diffs
Wed Mar 17 20:04:56 1999 UTC (12 years, 10 months ago) by billf
Branches: RELENG_3
Diff to: previous 1.169.2.8: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.8: +15 -8 lines
MFC: portmap_program, lpd_program, sendmail comments, check_quota, enable_quotas

	rc.conf 	1.1 -> 1.4
	rc.network 	1.39 -> 1.40
	rc 		1.179 -> 1.180
			1.182 -> 1.183

Revision 1.183: download - view: text, markup, annotated - select for diffs
Wed Mar 17 04:00:04 1999 UTC (12 years, 10 months ago) by billf
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +14 -7 lines
Split check_quotas into check_quotas and enable_quotas

enable_quotas - use quotas on your system
check_quotas - check for violations on startup

By assuming that a system was neat and without violation before it booted
we can skip a long (and at that point needless) process.

Submitted by:	Alex Perel <veers@disturbed.net>

Revision 1.169.2.8: download - view: text, markup, annotated - select for diffs
Sun Mar 14 20:30:08 1999 UTC (12 years, 11 months ago) by des
Branches: RELENG_3
Diff to: previous 1.169.2.7: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.7: +2 -2 lines
MFC: Fix bogons in previous commit.

Revision 1.182: download - view: text, markup, annotated - select for diffs
Sun Mar 14 20:26:39 1999 UTC (12 years, 11 months ago) by des
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +2 -2 lines
Fix bogons in previous commit.

Revision 1.169.2.7: download - view: text, markup, annotated - select for diffs
Sun Mar 14 03:21:39 1999 UTC (12 years, 11 months ago) by des
Branches: RELENG_3
Diff to: previous 1.169.2.6: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.6: +2 -1 lines
MFC: Chown the pty device nodes back to root:tty.

Revision 1.181: download - view: text, markup, annotated - select for diffs
Sun Mar 14 03:20:22 1999 UTC (12 years, 11 months ago) by des
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +2 -1 lines
Chown the pty device nodes back to root:tty.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Thu Mar 11 16:17:24 1999 UTC (12 years, 11 months ago) by jfitz
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +2 -2 lines
Add ${lpd_program} and ${portmap_program} as variables in rc.conf, with
suitable defaults pointing to the FreeBSD-shipped versions.  This will allow
for easier integration of third-party replacements for these daemons.
Reviewed by: Several members of -committers

Revision 1.169.2.6: download - view: text, markup, annotated - select for diffs
Tue Mar 9 15:01:24 1999 UTC (12 years, 11 months ago) by luigi
Branches: RELENG_3
Diff to: previous 1.169.2.5: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.5: +26 -25 lines
MFC: fix support for diskless in RELENG_3.
Now /etc/rc is the same as in HEAD, rc.diskless[12] are slightly
different using fewer mfs systems (there is still a lot of room
for improvement in both HEAD and RELENG_3)

Revision 1.169.2.5: download - view: text, markup, annotated - select for diffs
Sat Feb 13 05:31:07 1999 UTC (12 years, 11 months ago) by jkh
Branches: RELENG_3
CVS tags: RELENG_3_1_0_RELEASE
Diff to: previous 1.169.2.4: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.4: +3 -10 lines
MFC: merge changes in both directions.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Sat Feb 13 05:30:49 1999 UTC (12 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +10 -21 lines
Correct various mentions of rc.conf

Revision 1.169.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 11 23:05:00 1999 UTC (13 years ago) by jkh
Branches: RELENG_3
Diff to: previous 1.169.2.3: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.3: +5 -9 lines
Update comments to match current affairs.

Revision 1.169.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 11 22:03:27 1999 UTC (13 years ago) by dillon
Branches: RELENG_3
Diff to: previous 1.169.2.2: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.2: +3 -3 lines
    Remove $conf_dir usage from rc

Revision 1.169.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 10 18:08:38 1999 UTC (13 years ago) by jkh
Branches: RELENG_3
Diff to: previous 1.169.2.1: preferred, colored; branchpoint 1.169: preferred, colored
Changes since revision 1.169.2.1: +4 -2 lines
MFC: Use rc.conf from new location.

Revision 1.178: download - view: text, markup, annotated - select for diffs
Wed Feb 10 18:08:16 1999 UTC (13 years ago) by jkh
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +4 -2 lines
Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.conf
as necessary (for half-assed upgrades).

Revision 1.177: download - view: text, markup, annotated - select for diffs
Tue Feb 9 17:17:18 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +26 -25 lines
    Revamp rc.diskless.  Split into rc.diskless1 and rc.diskless2.  provide
    more opportunities for overriding.  Clean up /etc/rc ( remove conf_dir,
    remove startup mount special cases, remove other special cases )

Revision 1.176: download - view: text, markup, annotated - select for diffs
Tue Feb 9 05:20:46 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +3 -3 lines
    Get rid of $conf_dir

Revision 1.169.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 31 04:35:36 1999 UTC (13 years ago) by grog
Branches: RELENG_3
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +57 -30 lines
Catch up with changes made in -CURRENT branch.

Egged-on-by:  jkh

Revision 1.175: download - view: text, markup, annotated - select for diffs
Sun Jan 31 04:28:51 1999 UTC (13 years ago) by grog
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +3 -3 lines
Change variable name vinum_slices to vinum_drives to match the variable
we set in rc.conf.

Background: the `vinum read' command has changed.  For a short period
of time, it required the names of the slices on which vinum was
stored.  Now it requires the names of the drives.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Fri Jan 29 06:18:12 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +3 -2 lines
    If vfs.nfs.diskless_valid does not exist, the conditional fails
    and spews an error message we'd rather not spew.  Fixed.

Submitted by:	Kevin Street <street@iname.com>

Revision 1.173: download - view: text, markup, annotated - select for diffs
Tue Jan 26 05:14:36 1999 UTC (13 years ago) by peter
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +8 -9 lines
Move reading of rc.conf sooner as requested by Greg.  I'm a tad nervous
about this becase that makes it get run *before* the filesystems are
mounted.  If people have added stuff to their rc.conf or rc.conf.local
that uses stuff outside of /bin and /sbin, this will break.

Revision 1.172: download - view: text, markup, annotated - select for diffs
Tue Jan 26 04:59:43 1999 UTC (13 years ago) by peter
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +2 -7 lines
The vinum setup tool automatically loads the vinum module if it's needed,
there is no need to duplicate the logic here.

XXX rc.conf needs to be read sooner..

Revision 1.171: download - view: text, markup, annotated - select for diffs
Mon Jan 25 18:07:25 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +43 -22 lines
    Finish up /etc/rc adjustments to handle diskless read-only-root booting.
    This will be followed up by rc.diskless and documentation.

Revision 1.170: download - view: text, markup, annotated - select for diffs
Mon Jan 25 04:40:53 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +12 -1 lines
    Introduce rc script for BOOTP 'diskless' boot.  Well, not quite diskless
    since the kernel must be booted from something ( like a floppy ).  This
    script must occur near the beginning of the rc file in order to support
    read-only NFS mounts, which in turn allows all the BOOTP machines to use
    the same / and /usr.

    The companion rc.diskless script is forthcoming.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed Jan 20 12:30:13 1999 UTC (13 years ago) by jkh
Branches: MAIN
CVS tags: RELENG_3_BP
Branch point for: RELENG_3
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -4 lines
nuke dset from here.

Reminded by:	peter

Revision 1.168: download - view: text, markup, annotated - select for diffs
Mon Jan 18 03:25:10 1999 UTC (13 years ago) by grog
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +2 -2 lines
Only start vinum if vinum_slices variable is non-empty

Reported-by:	roberto

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Jan 17 03:32:07 1999 UTC (13 years ago) by grog
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +10 -1 lines
Add hooks for starting vinum at boot time.  Set the variable
vinum_slices to the names of all slices (block device) which are under
the control of vinum.  The configuration will be read in from each in
turn, starting with the most recently updated.

Reviewed-by:   jkh

Revision 1.166: download - view: text, markup, annotated - select for diffs
Mon Jan 11 09:07:38 1999 UTC (13 years, 1 month ago) by asami
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +1 -3 lines
Move nologin from /etc to /var/run.  This means one less file that has
to be written to /etc.

The only essential change is in paths.h, so any third-party software
written correctly will pick it up in the next rebuild.

Reviewed by:	the committers list (actually an old version)

Revision 1.165: download - view: text, markup, annotated - select for diffs
Sun Jan 10 22:06:22 1999 UTC (13 years, 1 month ago) by n_hibma
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +5 -1 lines
Added starting of usbd

Revision 1.164: download - view: text, markup, annotated - select for diffs
Wed Jan 6 14:01:52 1999 UTC (13 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +2 -3 lines
We load kld's in preference to LKM's, these do not need the root fs to be
read/write to load.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Sat Dec 12 23:04:20 1998 UTC (13 years, 2 months ago) by dillon
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +31 -3 lines
Reviewed by:	cvs-current

    Commit changes to rc and rc.local, removing the remaining minimal
    functionality of rc.local into rc and commenting it out of rc.local
    prior to the deletion of rc.local from the CVS tree.

Revision 1.162: download - view: text, markup, annotated - select for diffs
Fri Dec 11 08:25:12 1998 UTC (13 years, 2 months ago) by jb
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +2 -2 lines
Should be sysctl -n. Yesterday wasn't one of my better days. Doh.

Reported by: Ben Smithurst & Makoto Matsushita

Revision 1.161: download - view: text, markup, annotated - select for diffs
Thu Dec 10 08:06:59 1998 UTC (13 years, 2 months ago) by jb
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +15 -12 lines
Add a test for hw.machine == i386 before trying to run ldconfig for
legacy aout support.

Revision 1.104.2.38: download - view: text, markup, annotated - select for diffs
Tue Nov 3 16:35:46 1998 UTC (13 years, 3 months ago) by cracauer
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE
Diff to: previous 1.104.2.37: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.37: +3 -2 lines
MFC: Start etc/rc.d stuff in a way that it is still interruptable
even if the called programs blocks signals.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Fri Oct 9 17:11:14 1998 UTC (13 years, 4 months ago) by des
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -2 lines
Hand me the pointy hat, and make it big.

Revision 1.159: download - view: text, markup, annotated - select for diffs
Thu Oct 8 18:47:29 1998 UTC (13 years, 4 months ago) by des
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +2 -6 lines
Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5.

Disable building tickadj(8) by removing util from SUBDIR in the xntpd
Makefile. Note that the sources are still there and tickadj can still
be built and installed by doing:

# cd /usr/src/usr.sbin/xntpd/util
# make all install

There are enough references to tickadj in e.g. the xntpd documentation
(not to mention the sysctl variables it uses etc.) that I don't feel
up to implementing the final solution right now.

Kinda-approved-by:	phk

Revision 1.158: download - view: text, markup, annotated - select for diffs
Wed Sep 30 14:44:57 1998 UTC (13 years, 4 months ago) by cracauer
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +3 -2 lines
Put guard shells around stuff started from $local_startup. If you type
SIGINT (C-c), you'll get control passed to the next script even if
the current one blocks signals. The child is not killed, though.

Revision 1.104.2.37: download - view: text, markup, annotated - select for diffs
Wed Sep 16 22:43:36 1998 UTC (13 years, 4 months ago) by brian
Branches: RELENG_2_2
Diff to: previous 1.104.2.36: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.36: +19 -19 lines
MFC: Spaces -> tabs, don't use touch before it's available
     Pointed out by: bde

Revision 1.157: download - view: text, markup, annotated - select for diffs
Wed Sep 16 22:42:56 1998 UTC (13 years, 4 months ago) by brian
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +19 -19 lines
Spaces -> tabs, don't use touch before it's available
Pointed out by: bde

Revision 1.156: download - view: text, markup, annotated - select for diffs
Wed Sep 16 05:42:37 1998 UTC (13 years, 4 months ago) by jdp
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +16 -2 lines
Fix up the boot-time ldconfig handling to deal with dual object
file formats.  I have added a new rc.conf variable ${ldconfig_paths_aout}
which is like ${ldconfig_paths}, but only for a.out shared libraries.

On a "standard" ELF system, the ELF ldconfig path is taken from
${ldconfig_paths}, while the a.out ldconfig path is taken from
${ldconfig_paths_aout}.

On a not-yet-converted a.out system, only the a.out ldconfig path
is set, and it is taken from ${ldconfig_paths_aout}.  If that
variable is unset, /etc/rc defaults it to the value of ${ldconfig_paths},
on the assumption that the system's "/etc/rc.conf" file hasn't been
updated.

Revision 1.155: download - view: text, markup, annotated - select for diffs
Mon Sep 14 09:14:46 1998 UTC (13 years, 4 months ago) by sos
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +4 -1 lines
Make /dev/vga a softlink to /dev/ttyv0 under DEVFS using /etc/rc.devfs

Remove the hack from syscons that added a /dev/vga node in DEVFS
it broke root acces on ttyv0 because dev_mkdb screwed up.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Wed Sep 9 22:27:21 1998 UTC (13 years, 5 months ago) by jraynard
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +2 -2 lines
Disable kernel_secure_level unless explicitly set in rc.conf.  Previously,
it was enabled unless explicitly unset, creating a pitfall for people
like me who upgraded /etc/rc without upgrading /etc/rc.conf.

Revision 1.104.2.36: download - view: text, markup, annotated - select for diffs
Wed Sep 9 10:37:41 1998 UTC (13 years, 5 months ago) by cracauer
Branches: RELENG_2_2
Diff to: previous 1.104.2.35: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.35: +5 -4 lines
MFC: Remove X11 lock files even when cleaning /tmp is not set.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Mon Sep 7 17:18:36 1998 UTC (13 years, 5 months ago) by cracauer
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +5 -4 lines
Remove X11 lock files at boot time even if $clear_tmp_enable is not set.
PR:		conf/7366
Submitted by:	Thomas David Rivers rivers@dignus.com

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Sep 5 04:27:35 1998 UTC (13 years, 5 months ago) by jdp
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -3 lines
Explicitly pass the "-aout" option to ldconfig, until I've had a
chance to work out a better scheme to handle the separate
invocations necessary for a.out and ELF.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Mon Aug 24 07:11:48 1998 UTC (13 years, 5 months ago) by gpalmer
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +11 -9 lines
Don't try to run ldconfig if it doesn't exist. Useful for elf platforms.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Aug 20 11:22:52 1998 UTC (13 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +3 -3 lines
Fix my blunder in my previous commit here.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Fri Aug 14 06:49:05 1998 UTC (13 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -1 lines
Add "Mounting NFS file systems" progress indicator

PR:		7605
Reviewed by:	phk
Submitted by	Nick Hibma <nick.hibma@jrc.it>:

Revision 1.104.2.35: download - view: text, markup, annotated - select for diffs
Wed Aug 12 23:49:09 1998 UTC (13 years, 6 months ago) by brian
Branches: RELENG_2_2
Diff to: previous 1.104.2.34: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.34: +23 -8 lines
MFC: Careful when cleaning /var

Revision 1.148: download - view: text, markup, annotated - select for diffs
Mon Aug 10 19:53:50 1998 UTC (13 years, 6 months ago) by brian
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +23 -8 lines
Don't blat /var/run and /var/spool/lock *after* network_pass1()
unless /var is nfs-mounted.
This was removing ppps device lock (when ppp's started in
/etc/start_if.tun0 in -ddial or -dedicated mode) and allowing
other programs (such as mgetty) to confuse ppp by playing with
the modem while ppp's using it.

People that nfs-mount /var had better not start ppp in this
way....

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue Jul 28 01:15:12 1998 UTC (13 years, 6 months ago) by nectar
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +6 -1 lines
make a bounds file for msgs(1) if there isn't one already
PR:		bin/3023
Reviewed by:	jkh@FreeBSD.ORG

Revision 1.146: download - view: text, markup, annotated - select for diffs
Mon Jun 22 06:34:12 1998 UTC (13 years, 7 months ago) by jkoshy
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +9 -1 lines
Add rc.conf option to set kernel security level and modify "/etc/rc" to
use this.

Requested by: max, andreas

Note: This change just provides a convenient way to exercise existing
functionality.  Whether `kern.securelevel' is effective in increasing
system security is another issue, and one that has been well thrashed
out in the lists.

Revision 1.104.2.34: download - view: text, markup, annotated - select for diffs
Thu Jun 4 00:20:34 1998 UTC (13 years, 8 months ago) by mph
Branches: RELENG_2_2
CVS tags: RELENG_2_2_7_RELEASE
Diff to: previous 1.104.2.33: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.33: +2 -2 lines
MFC: Nuke directories in /var/run.

PR:		4138 5619 6793

Revision 1.145: download - view: text, markup, annotated - select for diffs
Tue Jun 2 11:02:16 1998 UTC (13 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -2 lines
Cut through the discussions and settle the issue:  Everything in /var/run
is blown away at boot.  If sudo or other programs needs directories, they
had better make them in /usr/local/etc/rc.d/mumble.sh

PR:		4138 5619 6793

Revision 1.144: download - view: text, markup, annotated - select for diffs
Tue May 26 20:12:45 1998 UTC (13 years, 8 months ago) by sos
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +2 -2 lines
ELF preparation step 2:

Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...

Revision 1.104.2.33: download - view: text, markup, annotated - select for diffs
Sun Feb 15 14:24:47 1998 UTC (13 years, 11 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_6_RELEASE
Diff to: previous 1.104.2.32: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.32: +15 -21 lines
MFC: selected improvements for etc files *not* including periodic changes,
     security tweaks or other kerberbos related stuff.  I expect that
     stuff to occur as a side-effect of what others will be doing in etc,
     if at all.

Revision 1.104.2.32: download - view: text, markup, annotated - select for diffs
Thu Jan 29 11:17:44 1998 UTC (14 years ago) by obrien
Branches: RELENG_2_2
Diff to: previous 1.104.2.31: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.31: +2 -2 lines
Remove useless test that I added.

Revision 1.104.2.31: download - view: text, markup, annotated - select for diffs
Thu Jan 29 11:01:28 1998 UTC (14 years ago) by obrien
Branches: RELENG_2_2
Diff to: previous 1.104.2.30: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.30: +24 -3 lines
Change my $ldconfig_extra_libdirs to $ldconfig_paths to match the name
used in -CURRENT.  Note the semantics are still 2.2.x's in that /usr/compat,
/usr/local, and /usr/X11R6 are still in rc and not rc.conf.  (thus making
$ldconfig_paths entirely optional.

Bring in $clear_tmp_enable from -STABLE while I'm here.

Revision 1.104.2.30: download - view: text, markup, annotated - select for diffs
Thu Jan 29 10:50:21 1998 UTC (14 years ago) by obrien
Branches: RELENG_2_2
Diff to: previous 1.104.2.29: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.29: +6 -1 lines
Adds new configuration variable "ldconfig_extra_libdirs", whose contents
is appended to _LDC.  Useful for Motif or a truly local dir tree.

(Tested on my 2.2.5-S box for a month.)

Revision 1.143: download - view: text, markup, annotated - select for diffs
Thu Jan 8 17:08:22 1998 UTC (14 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +10 -10 lines
Start syslogd before savecore, so savecore's messages will be logged
properly.  Only users of 4 MB machines might not want it this way (to
prevent accidentally clobbering the coredump), but they are somewhat
in the minority these days.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Dec 27 19:46:53 1997 UTC (14 years, 1 month ago) by steve
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +6 -4 lines
Add a ldconfig_paths variable that specifies the shared library paths
to be given to ldconfig(8).

PR:		5178
Submitted by:	Evan Champion <evanc@synapse.net>

Revision 1.141: download - view: text, markup, annotated - select for diffs
Tue Dec 9 10:06:49 1997 UTC (14 years, 2 months ago) by danny
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +1 -5 lines
Back out last commit re dmesg.boot

Revision 1.104.2.29: download - view: text, markup, annotated - select for diffs
Tue Dec 9 10:05:04 1997 UTC (14 years, 2 months ago) by danny
Branches: RELENG_2_2
Diff to: previous 1.104.2.28: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.28: +1 -5 lines
Back out last commit for dmesg.boot

Revision 1.104.2.28: download - view: text, markup, annotated - select for diffs
Tue Dec 9 07:24:35 1997 UTC (14 years, 2 months ago) by danny
Branches: RELENG_2_2
Diff to: previous 1.104.2.27: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.27: +5 -1 lines
Make rc record dmesg in /var/log/dmesg.boot

Revision 1.140: download - view: text, markup, annotated - select for diffs
Tue Dec 9 07:22:04 1997 UTC (14 years, 2 months ago) by danny
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +5 -1 lines
Make rc record boottime dmesg to /var/log/dmesg.boot, so the data
is preserved after it scrolls out of the dmesg buffer.

Revision 1.104.2.27: download - view: text, markup, annotated - select for diffs
Sun Nov 30 01:33:22 1997 UTC (14 years, 2 months ago) by obrien
Branches: RELENG_2_2
Diff to: previous 1.104.2.26: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.26: +1 -6 lines
Remove my `ulimit' hack -- latest changes to /etc/login.conf fixed the
problem with mfs filesystems listed in /etc/fstab.

Revision 1.104.2.26: download - view: text, markup, annotated - select for diffs
Mon Nov 24 09:24:19 1997 UTC (14 years, 2 months ago) by obrien
Branches: RELENG_2_2
Diff to: previous 1.104.2.25: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.25: +4 -1 lines
Add note that things in /etc/rc are run under login class `daemon' by
/sbin/init.

Revision 1.104.2.25: download - view: text, markup, annotated - select for diffs
Mon Nov 24 04:31:45 1997 UTC (14 years, 2 months ago) by obrien
Branches: RELENG_2_2
Diff to: previous 1.104.2.24: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.24: +6 -1 lines
Do not limit mfs partitions to 32meg.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Nov 16 12:52:16 1997 UTC (14 years, 2 months ago) by steve
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +22 -1 lines
Resurrect a modified version of the /tmp clearing code from rev 1.119.
Enable this by setting clear_tmp_enable in rc.conf to YES.  Beware
there can be serious side-effects of enabling this, so use at you own
risk.

PR:		misc/4982, misc/5054

Revision 1.104.2.24: download - view: text, markup, annotated - select for diffs
Sun Sep 21 16:10:34 1997 UTC (14 years, 4 months ago) by joerg
Branches: RELENG_2_2
CVS tags: RELENG_2_2_5_RELEASE
Diff to: previous 1.104.2.23: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.23: +3 -6 lines
MFC: unspam rev 1.114, kill `savecore_enable'

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sun Sep 21 16:09:47 1997 UTC (14 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -6 lines
Unspam rev 1.114 that got spammed when someone commited the rc.conf
changes: drop `savecore_enable' now that our savecore obeyes the
minfree file.

Revision 1.104.2.23: download - view: text, markup, annotated - select for diffs
Sat Sep 13 21:08:29 1997 UTC (14 years, 4 months ago) by brian
Branches: RELENG_2_2
Diff to: previous 1.104.2.22: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.22: +3 -3 lines
MFC: Change the not-specified-default for inetd & cron
     to "enabled".  This will avoid breaking things for
     idiots like me who update /etc/rc without paying
     attention and updating rc.conf too.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Sep 13 21:07:12 1997 UTC (14 years, 4 months ago) by brian
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3 lines
Change the not-specified-default for inetd & cron
to "enabled".  This will avoid breaking things for
idiots like me who update /etc/rc without paying
attention and updating rc.conf too.

Revision 1.104.2.22: download - view: text, markup, annotated - select for diffs
Sat Sep 13 09:30:58 1997 UTC (14 years, 5 months ago) by brian
Branches: RELENG_2_2
Diff to: previous 1.104.2.21: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.21: +2 -2 lines
MFC: Don't redirect "mount -t -o nfs" to null

Revision 1.136: download - view: text, markup, annotated - select for diffs
Sat Sep 13 09:29:21 1997 UTC (14 years, 5 months ago) by brian
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -2 lines
Don't redirect "mount -t -o nfs" to null

Revision 1.135: download - view: text, markup, annotated - select for diffs
Sun Aug 17 15:02:34 1997 UTC (14 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +0 -1 lines
Ooops.  Wrong branch, back out previous commit.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Aug 17 14:58:57 1997 UTC (14 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +2 -1 lines
MFC: rev 1.125, remove old PID files at startup

Revision 1.104.2.21: download - view: text, markup, annotated - select for diffs
Sun Jul 13 13:23:40 1997 UTC (14 years, 7 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.104.2.20: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.20: +2 -2 lines
Adjust wording slightly.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sun Jul 13 13:22:15 1997 UTC (14 years, 7 months ago) by jkh
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +7 -13 lines
Back out ld.so.conf change until the question is resolved.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Fri Jul 11 14:52:52 1997 UTC (14 years, 7 months ago) by jkh
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +13 -7 lines
Use /etc/ld.so.conf as a library path override, if it exists.
Submitted by:	Hans Zuidam <hans@brandinnovators.com>

Revision 1.104.2.20: download - view: text, markup, annotated - select for diffs
Wed Jun 25 12:31:36 1997 UTC (14 years, 7 months ago) by ache
Branches: RELENG_2_2
Diff to: previous 1.104.2.19: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.19: +5 -4 lines
Merge /var/run cleaning from -current

Revision 1.104.2.19: download - view: text, markup, annotated - select for diffs
Wed Jun 25 11:49:25 1997 UTC (14 years, 7 months ago) by pst
Branches: RELENG_2_2
Diff to: previous 1.104.2.18: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.18: +2 -2 lines
Merge from -currrent.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Wed Jun 25 11:48:47 1997 UTC (14 years, 7 months ago) by pst
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -2 lines
Execute rc.local in a subshell instead of sourcing it.

Requested by:	dima

Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Jun 25 03:12:12 1997 UTC (14 years, 7 months ago) by dima
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +2 -2 lines
sh /etc/rc.local -> . /etc/rc.local

Revision 1.104.2.18: download - view: text, markup, annotated - select for diffs
Wed Jun 25 03:10:15 1997 UTC (14 years, 7 months ago) by dima
Branches: RELENG_2_2
Diff to: previous 1.104.2.17: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.17: +2 -2 lines
sh /etc/rc.local -> . /etc/rc.local

Revision 1.104.2.17: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:02:33 1997 UTC (14 years, 7 months ago) by pst
Branches: RELENG_2_2
Diff to: previous 1.104.2.16: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.16: +8 -3 lines
Merge from -current -- inetd_enable & cron_enable
Same caveats apply.
Reviewed by:	jkh

Revision 1.129: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:01:18 1997 UTC (14 years, 7 months ago) by pst
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +8 -3 lines
Add cron_enable and inetd_enable flags to rc.conf.
WARNING: don't update rc and forget to update rc.conf, or you won't be
able to telnet back into your box after a reboot.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Jun 4 20:02:57 1997 UTC (14 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3 lines
Remove /var/run/* now instead of *.pid

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Jun 4 19:20:04 1997 UTC (14 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +1 -0 lines
Restore /var/run/*.pid cleaning, gated already moved off the way
and innd store its .pid inside its own directories

Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Jun 2 10:21:12 1997 UTC (14 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +1 -2 lines
Back out /var/run/*.pid cleaning since some programms (like innd)
use .pid to detect crash

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Jun 1 23:33:00 1997 UTC (14 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -1 lines
Add rm -f /var/run/*.pid to prevent random process killing due to
picking old .pid file

Revision 1.104.2.16: download - view: text, markup, annotated - select for diffs
Mon May 19 08:02:37 1997 UTC (14 years, 8 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.104.2.15: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.15: +2 -2 lines
YAMFC

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon May 19 07:46:48 1997 UTC (14 years, 8 months ago) by jkh
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -2 lines
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>

Revision 1.104.2.15: download - view: text, markup, annotated - select for diffs
Sun May 18 13:18:02 1997 UTC (14 years, 8 months ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.104.2.14: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.14: +2 -2 lines
Sendmail needs a full pathname or 'kill -HUP' fails.

Submitted by:  Jian-Da Li <jdli@csie.nctu.edu.tw>

Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed May 7 12:35:03 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -2 lines
Use full path to sendmail for security reasons.
Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>

Revision 1.104.2.14: download - view: text, markup, annotated - select for diffs
Mon May 5 07:09:04 1997 UTC (14 years, 9 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_2_RELEASE
Diff to: previous 1.104.2.13: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.13: +2 -2 lines
YAMFC

Revision 1.122: download - view: text, markup, annotated - select for diffs
Mon May 5 07:08:30 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -2 lines
Add inetd_flags and way of passing ipfw a configuration file
(if firewall = "somefilename").

Fix typo fixes and URLs which were accidently nuked out of this
file (submitted by: soil@quick.net via PR#3501).

Submitted by:	"Danny J. Zerkel" <dzerkel@phofarm.com>

Revision 1.104.2.13: download - view: text, markup, annotated - select for diffs
Sun May 4 22:35:26 1997 UTC (14 years, 9 months ago) by andreas
Branches: RELENG_2_2
Diff to: previous 1.104.2.12: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.12: +4 -4 lines
backed out my previous change, re-enabled:
        . /etc/rc.${arch}

PR:
Reviewed by:
Submitted by:
Obtained from:	Bruce

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun May 4 22:33:17 1997 UTC (14 years, 9 months ago) by andreas
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -4 lines
re-enabled: . /etc/rc.${arch}
PR:
Reviewed by:	bruce
Submitted by:
Obtained from:

Revision 1.104.2.12: download - view: text, markup, annotated - select for diffs
Sun May 4 13:13:10 1997 UTC (14 years, 9 months ago) by andreas
Branches: RELENG_2_2
Diff to: previous 1.104.2.11: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.11: +4 -4 lines
merged etc.i386/rc.i386 fix into RELENG_2_2
PR:
Reviewed by:
Submitted by:
Obtained from:

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun May 4 12:50:33 1997 UTC (14 years, 9 months ago) by andreas
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -4 lines
Fixed sourcing of /etc/etc.${arch}/rc.${arch} on startup.
PR:
Reviewed by:
Submitted by:
Obtained from:

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sat May 3 11:22:16 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +6 -32 lines
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

Revision 1.104.2.11: download - view: text, markup, annotated - select for diffs
Thu May 1 06:01:35 1997 UTC (14 years, 9 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.104.2.10: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.10: +5 -3 lines
YAMF22

Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu May 1 05:57:29 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +10 -6 lines
Clean up the output a bit.

Revision 1.104.2.10: download - view: text, markup, annotated - select for diffs
Thu May 1 04:41:04 1997 UTC (14 years, 9 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.104.2.9: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.9: +2 -2 lines
Be a little more descriptive about what daemons we're starting.
Submitted-By: "Philippe Charnier" <charnier@xp11.frmug.org>

Revision 1.104.2.9: download - view: text, markup, annotated - select for diffs
Sun Apr 27 11:13:38 1997 UTC (14 years, 9 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.104.2.8: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.8: +5 -1 lines
tickadj is useful even if ntpdate isn't selected (clock drift isn't
isolated to network time users) so make it a fully independant knob.
Suggested-By: Richard Crook <richard@sj.co.uk>

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Apr 27 03:59:13 1997 UTC (14 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +36 -134 lines
Bring in rc file changes from -current.

Revision 1.104.2.8: download - view: text, markup, annotated - select for diffs
Sat Apr 26 22:39:33 1997 UTC (14 years, 9 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.104.2.7: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.7: +40 -166 lines
Bring in rc reorganizational changes.  I'm bringing them into 2.2
first rather than 3.0 because, ironically, I have every confidence that
they run in 2.2 but not in 3.0 yet.  3.0 commits will follow just as I've
finished an inventory for any new knobs in -current which need accomodation.
In any case, it's good to get them into 2.2 early because there is going
to be a doc hit for this (all the references to sysconfig) and I'd just
as soon start getting people used to the new files ASAP rather than
prolonging the pain any more than necessary.

Revision 1.104.2.7: download - view: text, markup, annotated - select for diffs
Wed Apr 9 20:30:58 1997 UTC (14 years, 10 months ago) by guido
Branches: RELENG_2_2
Diff to: previous 1.104.2.6: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.6: +4 -1 lines
From current: Fix mountd so the privport stuff is backwards compatible
with older systems. Add sysconfig variable to control the privport
stuff.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Apr 9 20:14:59 1997 UTC (14 years, 10 months ago) by guido
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +4 -1 lines
Make a sysconfig variable controlling if teh kernel should accept
nfs requests from non-privileged ports.

Change mountd such that it does never set this variable, but only clears
it when run with -n. Also document this in the man page.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Apr 1 01:00:34 1997 UTC (14 years, 10 months ago) by pst
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +17 -11 lines
Add portmapflags and syslogd flags.
Reviewed by:	jkh

Revision 1.104.2.6: download - view: text, markup, annotated - select for diffs
Tue Apr 1 00:59:48 1997 UTC (14 years, 10 months ago) by pst
Branches: RELENG_2_2
Diff to: previous 1.104.2.5: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.5: +17 -11 lines
Add portmapflags and syslogdflags
Reviewed by:	jkh

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sun Mar 16 15:26:32 1997 UTC (14 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -2 lines
Having two knobs until you get a kernel core dump saved is silly.
Leave dumpdev, but kill the savecore variable.  Thus, it's still off
by default, but all you need is enabling dumpdev now.

phk's old argument that savecore might inadvertendly fill up the disk
no longer counts, savecore now correctly obeyes a `minfree' file, and
we ship our systems with such a file that even has a reasonable
default.

Revision 1.66.4.16: download - view: text, markup, annotated - select for diffs
Wed Mar 12 01:21:35 1997 UTC (14 years, 11 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.15: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.15: +2 -1 lines
Bring /usr/lib/compat to 2.1 branch.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Feb 23 09:20:46 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +1 -1 lines
Revert $FreeBSD$ to $Id$

Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Jan 16 02:18:37 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +1 -1 lines
Make sure newly created /var/account/acct file is 0600 mode.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Jan 14 05:44:31 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +1 -1 lines
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.

Revision 1.104.2.5: download - view: text, markup, annotated - select for diffs
Fri Jan 3 08:18:58 1997 UTC (15 years, 1 month ago) by phk
Branches: RELENG_2_2
CVS tags: RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Diff to: previous 1.104.2.4: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.4: +4 -1 lines
YAMFC (keep dmesg.boot in /var/run)

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Jan 2 18:55:26 1997 UTC (15 years, 1 month ago) by phk
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -2 lines
Put dmesg.boot in /var/run instead of /var/tmp

Suggested by: joerg & peter

Revision 1.109: download - view: text, markup, annotated - select for diffs
Thu Jan 2 16:28:33 1997 UTC (15 years, 1 month ago) by phk
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -1 lines
Now that uptimes run into months on a regular basis, I often find myself
wondering what the hw-config of a machine is, and the logs have been
rotated many times since reboot already.

Added:
	/sbin/dmesg > /var/tmp/dmesg.boot
to /etc/rc

2.2 candidate

Revision 1.104.2.4: download - view: text, markup, annotated - select for diffs
Mon Dec 23 00:36:58 1996 UTC (15 years, 1 month ago) by joerg
Branches: RELENG_2_2
Diff to: previous 1.104.2.3: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.3: +1 -1 lines
Merge the fix from rev 1.108: consider all ptys.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Dec 23 00:32:15 1996 UTC (15 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2 lines
Extend the set of ptys to chmod at boot time.

Closes PR # conf/1957: not all perms of ptys...

Submitted by:	gurney_j@efn.org (John-Mark Gurney)

Revision 1.104.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 19 18:08:00 1996 UTC (15 years, 1 month ago) by joerg
Branches: RELENG_2_2
Diff to: previous 1.104.2.2: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.2: +2 -2 lines
Merge rev 1.107: add /usr/local/sbin to $PATH.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Dec 19 18:06:35 1996 UTC (15 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -2 lines
Add /usr/local/sbin to the rc $PATH.  Things like GateD are located there.

Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 16 21:03:12 1996 UTC (15 years, 2 months ago) by phk
Branches: RELENG_2_2
Diff to: previous 1.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.1: +5 -1 lines
YAMFC

Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Nov 13 19:04:31 1996 UTC (15 years, 2 months ago) by adam
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +5 -1 lines
start rpc.statd for nfs_server case.
add warning and commented out line for rpc.lockd

Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 4 10:05:59 1996 UTC (15 years, 3 months ago) by phk
Branches: RELENG_2_2
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
Merge from -current.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Nov 3 14:41:58 1996 UTC (15 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
/dev/vn0b is supposed to be a block device, so don't test(1) whether
it's a plain file.

Submitted by:	brian@awfulhak.demon.co.uk (Brian Somers)

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Nov 1 09:45:51 1996 UTC (15 years, 3 months ago) by peter
Branches: MAIN
CVS tags: RELENG_2_2_BP
Branch point for: RELENG_2_2
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +36 -5 lines
Update to use the recommended recovery procedure from nvi-1.76.
This is a lot more robust and handles errors a lot better.  It also cleans
up stray, hopeless, or unmodified files rather than leaving them there
forever.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Oct 28 08:28:02 1996 UTC (15 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +8 -2 lines
Correct the startup sequence for syslogd:

. crate the symlink for /dev/log if required, then
. remove the old socket (savecore might have already created it
  accidentally), then
. start syslogd.

(Btw., our test(1) misses an option to test for a socket.)

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Oct 21 20:09:30 1996 UTC (15 years, 3 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +7 -3 lines
Add hooks for rpc.ypxfrd in /etc/sysconfig and /etc/rc. Also change
a couple of benign cases of 'yppasswdd' to 'rpc.yppasswdd.' (Like
rpc.yppasswdd, rpc.ypxfrd should only be run on NIS master servers.)

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Oct 8 20:02:57 1996 UTC (15 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
Add a -p to the amd invocation, it's not optional since we are expecting
the pid on stdout for /var/run/amd.pid.  The example in sysconfig had
forgotten -p anyway...

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Oct 8 20:00:44 1996 UTC (15 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +19 -15 lines
Some tweaks after having run a YP-only system with quotas:
 - split the "starting network daemons" in half.
 - The first half starts things necessary to get full name service up.
 - The quota check etc moved from "before network" to after the name
   services are running.  quotacheck does a while(p=getpwent()) which
   isn't real good without YP running...
 - moved rwhod a little later to put it with the other network stuff.
 - deferred inetd a tad so that it's after ldconfig and dev_mkdb,
   otherwise you get logins before you're ready.

Unresolved: named is started before ypserv/ypbind still, but named does
a while(s = getservent()) and while (p=getprotoent()) to suck in the
entire database into memory.  This means you cannot have a "+" in the
/etc/services or /etc/protocols files or you get a long hang at boot.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun Sep 22 06:36:49 1996 UTC (15 years, 4 months ago) by imp
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -2 lines
Fix a possible syntax error in rc when swapfile isn't defined at all.
This can happen when the user is upgrading from an older version and
his/her sysconfig file doesn't have swapfile defined to be NO in it.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Sep 2 13:09:54 1996 UTC (15 years, 5 months ago) by phk
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -1 lines
Add support for shlibs in /usr/lib/compat that the linker will not find
at compile time, but ldd will at runtime.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Wed Aug 21 23:15:36 1996 UTC (15 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +7 -1 lines
Add a new "swapfile" variable so that you can add a file as a additional
swap as the system is coming up.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Jul 30 06:28:59 1996 UTC (15 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
Edit this for consistency's sake (though it's syntactically identical).
Noticed-By: "William A. Gill" <bill@duchess.wagill.com>

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Jul 18 19:09:06 1996 UTC (15 years, 6 months ago) by pst
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +10 -10 lines
Move things up a bit to make startup pretty

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Jul 13 17:27:39 1996 UTC (15 years, 7 months ago) by pst
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +9 -9 lines
Start sendmail after ldconfig.  Put the nail in the coffin on misc/1346.
Submitted by:	Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>

Revision 1.66.4.15: download - view: text, markup, annotated - select for diffs
Tue Jun 25 14:56:02 1996 UTC (15 years, 7 months ago) by joerg
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE, RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE, RELENG_2_1_5_RELEASE
Diff to: previous 1.66.4.14: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.14: +16 -1 lines
Merge the changes from rev 1.19 of /etc/daily and 1.92 of /etc/rc --
Hint about alternatives to the boot-time cleanup of /tmp

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Jun 24 19:00:28 1996 UTC (15 years, 7 months ago) by pst
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +10 -10 lines
Start vi.recovery processing after ldconfig.
Closes misc/1346 which has bitten me more times than I care to remember.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Jun 22 13:05:20 1996 UTC (15 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +18 -1 lines
Add a few hints about the cleaning policy of /tmp, including an example
(commented out) for how to purge it regularly.

Revision 1.66.4.14: download - view: text, markup, annotated - select for diffs
Wed Jun 19 21:41:56 1996 UTC (15 years, 7 months ago) by nate
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.13: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.13: +2 -2 lines
rpc.yppasswd doesn't exist in -stable.  Use yppasswd instead.

Revision 1.66.4.13: download - view: text, markup, annotated - select for diffs
Mon Jun 17 09:17:10 1996 UTC (15 years, 7 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.12: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.12: +26 -23 lines
Merge very small, selected parts of this directory from HEAD.  Mostly
motivated by a desire to see the local_startup stuff work correctly
for the packages collection in 2.1.5.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Jun 15 17:04:48 1996 UTC (15 years, 7 months ago) by jkh
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -1 lines
Cosmetic tweaks.

Revision 1.66.4.12: download - view: text, markup, annotated - select for diffs
Wed Jun 5 02:36:34 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.11: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.11: +22 -23 lines
This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!

Revision 1.66.4.11: download - view: text, markup, annotated - select for diffs
Wed May 29 22:23:38 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.10: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.10: +24 -23 lines
Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun May 19 22:30:26 1996 UTC (15 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +1 -5 lines
Remove obsoleted comment about adjkerntz

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed May 8 09:25:57 1996 UTC (15 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -2 lines
Nuke the nasty cleaning of /var/run after netstart starts - it nukes
gated's pid file, for one thing, and is just generally BAD.

Revision 1.66.4.10: download - view: text, markup, annotated - select for diffs
Fri May 3 06:02:34 1996 UTC (15 years, 9 months ago) by asami
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.9: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.9: +7 -1 lines
Bring in ccd support from -current.  Note that conf.c has two missing
entries in front of ccd (stl and qcam) and the ccd driver won't work
(wrong character special major) until someone fills the two slots.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri May 3 05:37:04 1996 UTC (15 years, 9 months ago) by asami
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +7 -1 lines
Bring in ccd support.

Call ccdconfig before swapon if /etc/ccd.conf exists.

Obtained from: NetBSD

Revision 1.66.4.9: download - view: text, markup, annotated - select for diffs
Fri Mar 22 17:26:47 1996 UTC (15 years, 10 months ago) by nate
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.8: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.8: +6 -1 lines
Bring in changes from the HEAD.

Bloat the -stable etc tree with unused PC-CARD support hooks to make
testing go easier.  This code won't do anything in -stable, but it
minimizes the # of patches the testers will have to make to their
systems.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Mar 14 18:24:05 1996 UTC (15 years, 11 months ago) by nate
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3 lines
Renamed the relevant PC-Card support files to reflect the newest release.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Mar 12 15:39:24 1996 UTC (15 years, 11 months ago) by nate
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +6 -1 lines
PC-CARD hooks.  Someday it will actually enable working code. :)

Reviewed by:	phk
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> & BSD Nomads

I re-wrote alot of this, but the ideas are based on the code from the
most recent pccard-snapshot.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Feb 23 10:44:49 1996 UTC (15 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -2 lines
rpc.yppasswdd instead of yppasswdd

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Feb 9 12:20:37 1996 UTC (16 years ago) by jkh
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2 lines
Close PR conf/589 - amd should only evaluate ${amdflags}.
While I'm at it, add a commented-out sample amd flags line to sysconfig
and drop a sample amd.map file in this directory for easy copying.
I know that this file's contents are highly site-variable, but the one I've
chosen for an example is also the one I've seen on 99.9% of the amd-using
sites I've visited.  I think it's a fair default.

Revision 1.66.4.8: download - view: text, markup, annotated - select for diffs
Mon Jan 29 14:46:47 1996 UTC (16 years ago) by gpalmer
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.7: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.7: +8 -2 lines
Changes from the HEAD branch: add options to load the linux LKM,
mrouted and disable lpd.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Jan 29 08:46:13 1996 UTC (16 years ago) by gpalmer
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +6 -1 lines
Add an option to start mrouted. Off by default

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Jan 28 08:08:36 1996 UTC (16 years ago) by gpalmer
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -2 lines
Add (at long last) an option to say if you want to run the printer
daemon (lpd) or not. Set to run it by default.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Jan 16 08:04:06 1996 UTC (16 years ago) by graichen
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -2 lines
added the "-p" option to amd so that it writes it's pid to
/var/run/amd.pid and added the "-l /var/log/amd.log" option there too

added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Dec 28 01:24:04 1995 UTC (16 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +8 -5 lines
Go to new scheme for local_startup variable.  Now one can specify multiple
directories to check in looking for port startup scripts.  The specific gunge
for apache httpd, gated and pcnfsd in /etc/sysconfig and /etc/netstart is
gone now.  Note that pcnfsd's troubles aren't necessarily over (and probably
why NetBSD brought it into their sources) - anyone adding pcnfsd will STILL
have to tweak /etc/sysconfig in order to set the new variable
`weak_mountd_authentication' to YES.  The flags to mountd are directly affected
by pcnfsd's requirements for non-root mounts, unfortunately! :-(
Submitted by: paul & jkh

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Dec 9 19:40:12 1995 UTC (16 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Use absolute path for sendmail daemon or sendmail can't find
itself on SIGHUP.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Nov 4 05:03:16 1995 UTC (16 years, 3 months ago) by pst
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2 lines
remove path in front of kadmind, path already set correctly

Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Nov 1 16:53:25 1995 UTC (16 years, 3 months ago) by nate
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -2 lines
Don't have ldconfig look in /usr/gnu/lib since it was removed before 2.0R.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Nov 1 00:22:45 1995 UTC (16 years, 3 months ago) by ache
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +6 -2 lines
If accounting becomes enabled and /var/account/acct
not exist, touch it, or accounting is never started
(it must be pre-existen file).

Revision 1.66.4.7: download - view: text, markup, annotated - select for diffs
Mon Oct 30 08:30:31 1995 UTC (16 years, 3 months ago) by davidg
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_0_RELEASE
Diff to: previous 1.66.4.6: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.6: +3 -3 lines
Brought in changes from revs 1.74-1.75: fix for vi recovery files.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Oct 29 12:43:47 1995 UTC (16 years, 3 months ago) by ache
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
Use back-quotes in `echo ...recover.*`

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Oct 28 23:32:26 1995 UTC (16 years, 3 months ago) by pst
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
Recover vi recovery files on reboot.
Closes pr misc/556 and others.

Revision 1.66.4.6: download - view: text, markup, annotated - select for diffs
Thu Oct 19 08:07:09 1995 UTC (16 years, 3 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.5: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.5: +3 -3 lines
Update apache port knob to point to right executable.
Submitted by:	"Eric L. Hernes" <erich@lodgenet.com>

Revision 1.66.4.5: download - view: text, markup, annotated - select for diffs
Tue Sep 19 12:09:01 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.4: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.4: +1 -7 lines
Back this out of 2.1 until we can reach some concensus about how to
do all this right in -current.  Sorry, Satoshi.

Revision 1.66.4.4: download - view: text, markup, annotated - select for diffs
Tue Sep 19 10:23:38 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.3: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.3: +2 -2 lines
Merge from HEAD

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Sep 19 10:19:39 1995 UTC (16 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2 lines
local_startup=/usr/local/etc/rc.d
[ As suggested by Satoshi - rc.local.d was pretty redundant under /usr/local;
  duh! :-)]

[ -f /etc/rc.local ] && sh /etc/rc.local
For backwards compatibilty with non-executable rc.local files.  Sorry, Bruce!

Submitted by:	asami & bde & jkh

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Sep 19 08:33:42 1995 UTC (16 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +6 -6 lines
Bring my fixes over from 2.1.

Revision 1.66.4.3: download - view: text, markup, annotated - select for diffs
Tue Sep 19 08:30:39 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.2: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.2: +10 -6 lines
Bring in changes from the HEAD.  Also fix the local rc file changes
to:
	A) Use consistent variable expansion syntax.

	B) *NOT* expect rc files to be directly in /usr/local/etc.  That
	   was a very poor choice since lots of ports dump things straight
	   into /usr/local/etc and invoking anything with a .sh suffix in
	   there would be a bad idea indeed.  It's now /usr/local/etc/rc.local.d
	   for much greater clarity and safety.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Sep 18 19:17:13 1995 UTC (16 years, 4 months ago) by paul
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -13 lines
Removed startup code for pcnfsd and apache. These don't even exist
in FreeBSD and should never have got in here.

Removed hard-coded /etc/rc.local.d hacks and implemented a more flexible
solution.

Added a local configuration area to sysconfig.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Sep 18 07:38:18 1995 UTC (16 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +8 -4 lines
Add support for /etc/rc.local.d directory, ala SYSV.  If the purists
don't like it, they don't have to use it.  The check makes sure that
/etc/rc.local.d exists before attempting to do anything with it.  Now
packages will be able to add their startups as /etc/rc.local.d/<pkgname>.sh
in order to get local startup behavior.  Maybe we can stop adding
knobs to /etc/sysconfig for ports/packages now?
Submitted by:	wollman & jkh

Revision 1.66.4.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 23:16:33 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.1: +17 -2 lines
Bring in my changes from the HEAD:
	Add pcnfsd / apache_httpd hooks.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Sep 14 02:44:47 1995 UTC (16 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +17 -2 lines
Add checks for pcnfsd (flag to mountd must be added in this case)
and Apache httpd, so a user can be brought up to speed quickly.

Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 25 03:37:21 1995 UTC (16 years, 5 months ago) by davidg
Branches: RELENG_2_1_0
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -1 lines
Brought in changes from revs 1.67-1.68: support for dumpdev and
nis_ypsetflags sysconfig variables.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Jul 20 16:26:25 1995 UTC (16 years, 6 months ago) by wollman
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -1 lines
Not sure if Rod is still working in these or not, so here goes.

Add nis_ypsetflags sysconfig entry and appropriate code in rc to call
ypset if needed.  Should probably automatically add `-ypsetme' to ypbind
flags if this is set.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Jun 25 04:01:32 1995 UTC (16 years, 7 months ago) by bde
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -1 lines
Optionally set the dump device.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon May 15 19:50:59 1995 UTC (16 years, 9 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_1_0_BP, RELENG_2_0_5_RELEASE, RELENG_2_0_5_BP, RELENG_2_0_5_ALPHA, RELENG_2_0_5
Branch point for: RELENG_2_1_0
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
The ``mount -a -t nfs'' should never have been backgrounded.  If you
have non-critical nfs volumes in /etc/fstab they should have option bg
on them.  The behavior of the system is more tuneable this way, and
allows a slow mounting /usr over nfs to work.

Submitted by:	bde

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon May 15 08:39:08 1995 UTC (16 years, 9 months ago) by davidg
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +10 -1 lines
Fixed incompleteness that would allow dirty filesystems to get mounted
when the single user shell was terminated. These changes disallow mounting
or R/W upgrading filesystems that are dirty unless "-f" (force) option
is used with mount. /etc/rc has been modified to abort the startup if
one or more non-nfs partitions fail to mount.

Reviewed by:	Poul-Henning Kamp, Rod Grimes

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu May 11 21:11:17 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -1 lines
Document the fact that almost all the user configuration stuff is now
in /etc/sysconfig, per Luigi's suggestion.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Apr 11 18:36:10 1995 UTC (16 years, 10 months ago) by ache
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2 lines
Add -r to rm -f /var/spool/uucp/.Temp/*

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Apr 11 01:22:21 1995 UTC (16 years, 10 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2 lines
Remove obsolete comments about my-name and my-network.

Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.

Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.

Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)

Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Apr 9 09:54:42 1995 UTC (16 years, 10 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +7 -7 lines
This is a purely cosmetic clean up.  Fix many cut and paste problems that
had turned tabs into spaces.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Mar 30 06:26:09 1995 UTC (16 years, 10 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +156 -93 lines
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

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Mar 30 00:01:08 1995 UTC (16 years, 10 months ago) by ache
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +14 -2 lines
Add function keys change setup

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Mar 29 03:42:16 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -6 lines
Move the invocation of rc.maint ahead of netstart.  This is actually OK
since /var wouldn't be mounted at this point anyway - the mount of NFS
comes after both of them are run.  This closes misc/276.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Mar 29 03:35:10 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +12 -11 lines
1. Add missing -n's to echo lines, closing misc/278
2. Make output of spaces follow conventions used elsewhere.
3. Inform user of a few things being started that were silent before.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Mar 26 18:18:58 1995 UTC (16 years, 10 months ago) by wpaul
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -5 lines
Make syslogd work again: in needs to be started in netstart right
before the rest of the system daemons are brought up and *after* the
network interfaces have been configured.

Also fix one other potential problem: the NIS services need to be started
relavively early since some of the other daemons might need them. The
automounter is a good example: if you use amd with NIS-based maps, you'd
better have NIS running before you start it. :) I think mountd might
need it too, now that netgroups can be read via NIS as well.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Mar 24 00:16:24 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +10 -1 lines
start syslog earlier
add optional ibcs2 startup

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Mar 24 00:11:02 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -6 lines
Correct a few spelling bogons.
Submitted by:	phk

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Mar 24 00:01:20 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4 lines
Get around problem of not exporting variables in sysconfig

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Mar 23 06:42:36 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
rc.netstart -> netstart

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Mar 23 01:25:16 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +16 -165 lines
Another pass through our rc files in an attempt to eliminate historical
crufy and generally make all of this easier to understand and modify.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Mar 22 03:29:52 1995 UTC (16 years, 10 months ago) by ache
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +67 -9 lines
Almost full syscons setup via rc & sysconfig

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Mar 21 16:44:03 1995 UTC (16 years, 10 months ago) by wollman
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +9 -8 lines
Change named starting convention to use $namedflags like most other
daemons that take command-line arguments.  Correct /etc/namedb installation
to use the correct files.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Mar 21 15:20:47 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +59 -49 lines
Begin a long-overdue cleanup of this whole mess.

1. Move all system configuration variables into /etc/sysconfig
2. Adapt other files to use it.
3. Add a host of new variables for micro-managing your system in various
   ways.  For 2.1, /etc/sysconfig will be machine-edited so that the user
   doesn't even have to care at all about the various funny names we picked.
4. Enable dset.  We won't get it debugged if we never use it, and no one
   has said anything negative about it yet, so here goes!
5. Try to use one consistent style throughout.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Mar 17 17:57:24 1995 UTC (16 years, 10 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -2 lines
Remove extra fi that caused this script to fail during boot.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Mar 16 16:58:00 1995 UTC (16 years, 10 months ago) by wollman
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +36 -13 lines
Semi-major RC file cleanup:

- Do ntp right
- Move recenrly-added and long-standing junk from rc.local into rc, so
. that rc.local truly is LOCAL.
- Fix named invocation to use the correct boot file location.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Jan 26 19:04:29 1995 UTC (17 years ago) by jkh
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
Disable dset for now - Bruce says it hoses the show.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Jan 24 16:49:14 1995 UTC (17 years ago) by jkh
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -1 lines
Add dset call to rc file, right after the databases are rebuilt.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Dec 18 01:21:51 1994 UTC (17 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
timedflags quoted
Submitted by: root@uglabgw.ug.cs.sunysb.edu

Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Dec 5 19:46:35 1994 UTC (17 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -1 lines
Add yet one locale example, this time ISO8859-1 as most common example.
Add reference where find full locales list

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Nov 26 19:25:14 1994 UTC (17 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Call rc.local with . instead of sh to pass variables
Submitted by: John Capo

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Nov 17 08:28:02 1994 UTC (17 years, 2 months ago) by smace
Branches: MAIN
CVS tags: RELEASE_2_0, BETA_2_0
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
fix if test for rwhod.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Nov 7 04:02:26 1994 UTC (17 years, 3 months ago) by phk
Branches: MAIN
CVS tags: ALPHA_2_0
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
Only so savecore if people ask for it.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Nov 2 09:41:35 1994 UTC (17 years, 3 months ago) by ache
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
Restore back -i for adjkerntz

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Nov 1 16:24:03 1994 UTC (17 years, 3 months ago) by ache
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Remove -i options from adjkerntz call

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Oct 30 04:33:57 1994 UTC (17 years, 3 months ago) by ache
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -1 lines
Add commented out startup locale setup, needed for some daemons
like comsat

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Oct 25 08:23:02 1994 UTC (17 years, 3 months ago) by davidg
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Moved swapon -a to before the fsck. It isn't possible to run fsck on
moderately sized filesystems on 4MB machines otherwise.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Sep 29 17:27:46 1994 UTC (17 years, 4 months ago) by pst
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +6 -2 lines
Add nfs_client and amdflags

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Sep 26 16:52:04 1994 UTC (17 years, 4 months ago) by pst
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -7 lines
Remove elvis editor preserve stuff.  We don't have elvis in 2.0 (nor am
I aware of anyone who wants it given that we have nvi).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Sep 24 03:42:08 1994 UTC (17 years, 4 months ago) by wollman
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Don't pass a filename to kvm_mkdb, it can figure out the correct file
on its own.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 23 18:02:22 1994 UTC (17 years, 4 months ago) by davidg
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -6 lines
root must be remounted read/write fairly early in the startup procedure
both for NFS diskless and for VFS LKMs.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Sep 23 07:16:16 1994 UTC (17 years, 4 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -2 lines
fbtab: Pulled down from Attic, fixed spaces to tabs.

make.conf: Pulled in the following changes that had been commited
to share/examples/etc:
	----------------------------
	revision 1.6
	date: 1994/09/20 22:30:33;  author: adam;  state: Exp;  lines: +3 -3
	BOOTWAIT example converted to milliseconds calibration
	----------------------------
	revision 1.4
	date: 1994/09/19 21:35:28;  author: wollman;  state: Exp;  lines: +7 -1
	Document NO_SHARED_LIBCC_INT.
	----------------------------
	revision 1.3
	date: 1994/09/19 21:28:11;  author: wollman;  state: Exp;  lines: +12 -17
	Install /etc from the same source as /usr/share/examples/etc (mostly).
	----------------------------
	revision 1.2
	date: 1994/09/19 02:05:08;  author: ache;  state: Exp;  lines: +1 -11
	Remove STARTUP_LOCALE, obsoleted now
	----------------------------
	revision 1.1
	date: 1994/09/08 19:08:59;  author: jkh;  state: Exp;
	Add a sample make.conf.  Also document the new X11BASE variable, and
	expand some of the documentation for other entries.
	Submitted by:   jkh
	----------------------------

manpath.config: Pulled down from Attic, and merged share/examples/etc
changes.

rc: Pulled in the following change from share/examples/etc:
	----------------------------
	revision 1.2
	date: 1994/09/19 23:13:37;  author: ache;  state: Exp;  lines: +1 -2
	Remove warning about adjkerntz /var/run file
	----------------------------

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Sep 15 02:21:39 1994 UTC (17 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -1 lines
nfsiod should be started if this is a NFS-client, not if it is a server.

look for "nfs" in etc/fstab, and start it if we see it.  Not quite perfect,
but better.  mount_nfs should start it, if it isn't running.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Aug 21 04:28:44 1994 UTC (17 years, 5 months ago) by davidg
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -9 lines
1) adapted to a world without "fastboot" and "fasthalt".
2) updated to work with 2.0/4.4 binaries.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jun 6 17:45:37 1994 UTC (17 years, 8 months ago) by phk
Branches: MAIN
CVS tags: MOVED_NEWCVS, FINAL_1_1_5, ALPHA_1_1_5
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -1 lines
check for diskless boot, and remount / RW in that case.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 5 16:03:57 1994 UTC (17 years, 8 months ago) by ats
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Comment out the startup of the xtend daemon by default.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jun 4 00:43:59 1994 UTC (17 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -1 lines
Now rc.serial used for initial setup of serial lines

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Jun 1 17:04:01 1994 UTC (17 years, 8 months ago) by paul
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -1 lines
Added
     if [ -x /usr/libexec/xtend ]; then
          echo -n ' xtend';   /usr/libexec/xtend
     fi

to etc/rc

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon May 23 11:22:10 1994 UTC (17 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
Path of uucp lock/temp corrected

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Apr 25 15:33:12 1994 UTC (17 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Fix to handle routed with multiple args from Andy J. Chichak.
This should go into 1.1 Release if it's not too late.

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 18 04:14:19 1994 UTC (17 years, 9 months ago) by rgrimes
Branches: BETA_1_1
CVS tags: GAMMA_1_1, FINAL_1_1
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.1: +2 -1 lines
>From main branch:

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Mar 25 04:58:58 1994 UTC (17 years, 10 months ago) by rich
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
Add /usr/X11R6/lib to the ldconfig path if it exists.
Add /usr/X11R6/lib to the ldconfig path if it exists.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Mar 25 04:58:58 1994 UTC (17 years, 10 months ago) by rich
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1 lines
Add /usr/X11R6/lib to the ldconfig path if it exists.
Add /usr/X11R6/lib to the ldconfig path if it exists.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 6 08:43:37 1994 UTC (17 years, 11 months ago) by rgrimes
Branches: BETA_1_1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -3 lines
Pull in rc changes from main branch about running tickadj for xntpd, and
update to services for KerberosIV vs KerberosV.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 27 15:32:09 1994 UTC (17 years, 11 months ago) by phk
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -3 lines
Added tickadj to start of xntpd, this improves performance to nominal.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Feb 21 11:28:45 1994 UTC (17 years, 11 months ago) by rgrimes
Branches: MAIN
CVS tags: BP_BETA_1_1
Branch point for: BETA_1_1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Correction so that elvisrecover finds the right files!
>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Date: Fri, 21 Feb 1992 09:40:35 +0100 (MET)

The last version expected elvis* files in /var/tmp, while elvis puts
elv* files there.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Feb 21 03:16:43 1994 UTC (17 years, 11 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +12 -12 lines
Move ldconfig stuff to be after nfs mounts.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Feb 21 02:47:47 1994 UTC (17 years, 11 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +18 -2 lines
Put back in elvis recovery stuff, we still ship elvis with 1.1 as a fall
back editor!

Add nvi recovery precedure from man page.

Fix ntpdate echo lines so that it looks pretty (ntpdate spits out 1 line
of output that makes the system boot up look real ugly if you do it
echo -n, so I chaged it to echo, and then added a
echo -n 'starting more network daemons:' so any addition daemon starts
look normal.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 2 08:02:37 1994 UTC (18 years ago) by chmr
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -7 lines
Use find -d to clear /tmp, to stop warnings.
Removed elvispreserve command, nvi does not use it, and it was also wrong
for elvis.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jan 22 20:44:13 1994 UTC (18 years ago) by guido
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
This is Vixie cron 3.0. This version fixes all known security bugs.
Further it implements crontab -e.
I moved cron from /usr/libexec to /usr/sbin where most daemons are
that are run from rc. That also gets rid of the ugly path crond
used to have in ps(1) outputs. Further I renamed it to cron, as
Paul Vixie likes it and is done by NetBSD.

NOTE VERY WELL THE FOLLOWING:

1) Systems crontab changed. Every users crontab resides in /var/cron
   *EXCEPT* root's. This is a special crontab as it resides in
   /etc. Further it is the *ONLY* crontab file in which you specify
   usernames. See /usr/src/etc/crontab. This is also done by BSDI's
   BSD/386 as far as I know (they provided the patches for it anyway)
2) So you *must* delete root's crontab and reinstall the copy
   in /etc from /usr/src/etc.
   'Must' is to much: the old installed crontab will work but cron
   will also try to 'run' /etc/crontab.
3) Last but not least: cron's logging is now done via syslog. Note
   that logging by cron is done lowercase when it logs about itsself
   and uppercase when it logs user events, like installing a new crontab.
   The default logfile file is the same as before:
   	syslog.conf:cron.*	/var/cron/log

-Guido

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 8 17:49:47 1994 UTC (18 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Move "mount -a -t nfs" *after* network daemons,
must be at least after named & gated for proper name resolution.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jan 4 18:06:18 1994 UTC (18 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
Add warning comment line (rm anything into /var/run)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 30 18:19:17 1993 UTC (18 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -2 lines
Added more robust ldconfig setting in rc, removed redundant ldconfig in
rc.local.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Dec 21 21:28:12 1993 UTC (18 years, 1 month ago) by wollman
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -1 lines
Support for automatically running ntpdate and xntpd.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Dec 21 02:58:15 1993 UTC (18 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Fix sendmail_flags, long ago it was imported from /etc/netstart
with this bug.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Dec 17 04:20:30 1993 UTC (18 years, 1 month ago) by ache
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -1 lines
adjkerntz call added with explanation comment

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Dec 13 08:28:03 1993 UTC (18 years, 2 months ago) by davidg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -6 lines
Moved startup of portmap to be the first network daemon.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 30 16:59:27 1993 UTC (18 years, 2 months ago) by rich
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
allow spaces in $sendmail_flags.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Nov 25 13:23:46 1993 UTC (18 years, 2 months ago) by davidg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
Don't start update daemon; it's now internel to the kernel.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Nov 24 05:17:14 1993 UTC (18 years, 2 months ago) by rich
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -1 lines
/var/run is cleared on boot. Rerun 'ldconfig /usr/X386/lib' after
clearing /var/run if /sbin/ldconfig exists.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Nov 7 01:19:06 1993 UTC (18 years, 3 months ago) by wollman
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +13 -3 lines
Added a new flag variable to /etc/netstart, $sendmail_flags, which
gives the flags to be passed to sendmail when it is started.  (If it is
"NO", sendmail is not started.)  Also, always start the portmapper regardless
of the value of $nfs_server; this should prevent the inetd complaints we
have seen from recurring.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Aug 24 06:15:36 1993 UTC (18 years, 5 months ago) by swallace
Branches: MAIN
CVS tags: GAMMA_1_0, FINAL_1_0, EPSILON_1_0
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
Changed -r /fastboot to -e /fastboot.  File just needs to exist for fastboot.
Otherwise, doesn't work for non-root owner of /fastboot.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 19 18:55:38 1993 UTC (18 years, 6 months ago) by rgrimes
Branches: MAIN
CVS tags: BETA_1_0, ALPHA_1_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -4 lines
Removed the foreground/background escape sequences that cause headaches
if you are using a com console or a non pc3 console.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Jun 20 13:41:40 1993 UTC (18 years, 7 months ago) by rgrimes
Branches: NETBSD
CVS tags: V_0_0_1_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import of 386BSD 0.1 othersrc/etc

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 20 13:41:39 1993 UTC (18 years, 7 months ago) by rgrimes
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options