Commit Graph

124 Commits

Author SHA1 Message Date
jkh
eca8c2300f Neaten up some things which were inconsistent, add a few more flags
to things which need them, general cleanup.
Submitted by:	Brian Somers <brian@awfulhak.org>
1997-05-19 07:46:51 +00:00
jkh
7a6376d97f Use full path to sendmail for security reasons.
Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
1997-05-07 12:35:03 +00:00
jkh
07cd08d705 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>
1997-05-05 07:08:31 +00:00
andreas
a9a4dc76d0 re-enabled: . /etc/rc.${arch}
PR:
Reviewed by:	bruce
Submitted by:
Obtained from:
1997-05-04 22:33:17 +00:00
andreas
55da57aff1 Fixed sourcing of /etc/etc.${arch}/rc.${arch} on startup.
PR:
Reviewed by:
Submitted by:
Obtained from:
1997-05-04 12:50:33 +00:00
jkh
af4383e1b6 Update the etc world from RELENG_2_2 which is now more up-to-date
(gotta get myself -current again, this is a drag).

Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch
1997-05-03 11:22:17 +00:00
jkh
925f2cb7ee Clean up the output a bit. 1997-05-01 05:57:29 +00:00
jkh
7be3f36014 Bring in rc file changes from -current. 1997-04-27 03:59:19 +00:00
guido
c0dad1ff8d 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.
1997-04-09 20:17:15 +00:00
pst
9827ab07c4 Add portmapflags and syslogd flags.
Reviewed by:	jkh
1997-04-01 01:00:35 +00:00
joerg
55f958f523 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.
1997-03-16 15:26:34 +00:00
peter
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
jkh
45a95a8306 Make sure newly created /var/account/acct file is 0600 mode. 1997-01-16 02:18:37 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
phk
813b0dd9e3 Put dmesg.boot in /var/run instead of /var/tmp
Suggested by: joerg & peter
1997-01-02 18:55:26 +00:00
phk
368dad5d4b 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
1997-01-02 16:28:33 +00:00
joerg
2a3b477492 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)
1996-12-23 00:32:15 +00:00
joerg
559ebc11e1 Add /usr/local/sbin to the rc $PATH. Things like GateD are located there. 1996-12-19 18:06:35 +00:00
adam
46e1202181 start rpc.statd for nfs_server case.
add warning and commented out line for rpc.lockd
1996-11-13 19:04:31 +00:00
joerg
b9f3f4db00 /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)
1996-11-03 14:41:58 +00:00
peter
78f24241f2 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.
1996-11-01 09:45:51 +00:00
joerg
ff0d691965 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.)
1996-10-28 08:28:02 +00:00
wpaul
d7c6b63ef7 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.)
1996-10-21 20:09:30 +00:00
peter
04838bc55a 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...
1996-10-08 20:02:57 +00:00
peter
c9ea7e4fc9 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.
1996-10-08 20:00:44 +00:00
imp
955d71703a 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.
1996-09-22 06:36:49 +00:00
phk
59f8ce79a3 Add support for shlibs in /usr/lib/compat that the linker will not find
at compile time, but ldd will at runtime.
1996-09-02 13:10:02 +00:00
jkh
2da1db6ea8 Add a new "swapfile" variable so that you can add a file as a additional
swap as the system is coming up.
1996-08-21 23:15:37 +00:00
jkh
b5f1e4c096 Edit this for consistency's sake (though it's syntactically identical).
Noticed-By: "William A. Gill" <bill@duchess.wagill.com>
1996-07-30 06:28:59 +00:00
pst
3b55c38a3d Move things up a bit to make startup pretty 1996-07-18 19:09:06 +00:00
pst
4203d74266 Start sendmail after ldconfig. Put the nail in the coffin on misc/1346.
Submitted by:	Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>
1996-07-13 17:27:39 +00:00
pst
1e72a3c651 Start vi.recovery processing after ldconfig.
Closes misc/1346 which has bitten me more times than I care to remember.
1996-06-24 19:00:28 +00:00
joerg
f922895864 Add a few hints about the cleaning policy of /tmp, including an example
(commented out) for how to purge it regularly.
1996-06-22 13:05:20 +00:00
jkh
a0d4b3885b Cosmetic tweaks. 1996-06-15 17:04:48 +00:00
ache
92f8f3c6af Remove obsoleted comment about adjkerntz 1996-05-19 22:30:26 +00:00
jkh
bef1563d1c Nuke the nasty cleaning of /var/run after netstart starts - it nukes
gated's pid file, for one thing, and is just generally BAD.
1996-05-08 09:25:57 +00:00
asami
52ac890686 Bring in ccd support.
Call ccdconfig before swapon if /etc/ccd.conf exists.

Obtained from: NetBSD
1996-05-03 05:37:04 +00:00
nate
36dc90ccd8 Renamed the relevant PC-Card support files to reflect the newest release. 1996-03-14 18:24:07 +00:00
nate
38eb2b3686 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.
1996-03-12 15:39:26 +00:00
adam
8b3d623d79 rpc.yppasswdd instead of yppasswdd 1996-02-23 10:44:49 +00:00
jkh
50e472b749 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.
1996-02-09 12:20:40 +00:00
gpalmer
584809c422 Add an option to start mrouted. Off by default 1996-01-29 08:46:14 +00:00
gpalmer
639086d7c7 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.
1996-01-28 08:08:37 +00:00
graichen
b447bf3998 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
1996-01-16 08:04:06 +00:00
jkh
27bb84eb65 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
1995-12-28 01:24:04 +00:00
ache
68bd73389a Use absolute path for sendmail daemon or sendmail can't find
itself on SIGHUP.
1995-12-09 19:40:12 +00:00
pst
d2205dfe02 remove path in front of kadmind, path already set correctly 1995-11-04 05:03:16 +00:00
nate
16af6306ac Don't have ldconfig look in /usr/gnu/lib since it was removed before 2.0R. 1995-11-01 16:53:25 +00:00
ache
e702f25f2b If accounting becomes enabled and /var/account/acct
not exist, touch it, or accounting is never started
(it must be pre-existen file).
1995-11-01 00:22:45 +00:00
ache
cc116c7cb7 Use back-quotes in echo ...recover.* 1995-10-29 12:43:47 +00:00