Commit Graph

103 Commits

Author SHA1 Message Date
mrg
4c04041950 add "screenblank" support. 1998-04-07 04:47:33 +00:00
lukem
cb545a7ee4 send ntpdate output to syslog rather than stdout (with -s).
suggested by "Soren S.  Jorvang" <soren@t.dk>
1998-02-24 00:24:45 +00:00
lukem
63e548eb1d exclude 127.127 servers when automagically determining ntpdate hosts 1998-02-23 05:20:52 +00:00
lukem
8f59ce8e35 include rc.subr and use appropriately 1998-01-26 12:02:43 +00:00
veego
16cc8254d4 Move ipnat from /etc/netstart to /etc/rc after /usr is mounted. 1998-01-24 19:12:54 +00:00
perry
30e556f4e5 Fix pr 4587 (from Matthias Scheler) -- pause slightly after xfs starts. 1998-01-09 21:57:17 +00:00
mrg
d2cfb19c3d print a warning if no swap devices are configured and "no_swap" is not YES. 1997-11-23 04:17:57 +00:00
jonathan
6ba565c4d3 Add options to rc.conf and rc to start xfs (x font server) and xdm.
Add entries to rc.conf.5.
While we're here, note that the domestic kerberos damons are still
Kerberos IV, not kerberos version 5.
1997-11-11 02:28:58 +00:00
drochner
a06997e6bd Replace the (slightly broken) check to avoid double mounting of
filesystems by a correct one. (too bad that there was no agreement
about a mount option doing the same...)
Introduce a new rc.conf variable to mount user-defined filesystems
early in startup (eg for syslog, crashdumps, ...).
1997-10-10 09:37:54 +00:00
lukem
cb57cd9636 add $ipmon and $ipmon_flags, to control startup of ipmon(8) 1997-10-07 12:11:48 +00:00
drochner
a14fe6a191 fix an rc.conf flag check which was broken with the "checkyesno" changes 1997-09-12 10:36:04 +00:00
drochner
52157361c2 avoid to mount /usr twice if LKM load already did it 1997-09-12 09:53:08 +00:00
mikel
8cd518d0fd no more DEFAULT for $ntpdate_hosts; from Geoff Wing in PR bin/4073 1997-09-08 02:34:44 +00:00
veego
d1307e8424 Curt, what is in rc.func ?
I only see rc.subr so I renamed rc.func to rc.subr.
1997-08-29 09:33:34 +00:00
cjs
c3b0e18db8 Split rc.conf variables for starting programs into two: an on/off
switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.
1997-08-29 02:24:04 +00:00
thorpej
5b004f0ce6 ldconfig processes /etc/ld.so.conf internally; run it without cat'ing
the contents into an argument vector.
1997-08-26 19:35:33 +00:00
cjs
d10a9ab09b Move ntpdate before `starting network daemons' to get cleaner output
during boot. Besides, it's not a daemon anyway.
1997-08-05 03:32:51 +00:00
perry
2a376043c7 add apmd to /etc/rc and /etc/rc.conf per Lennart Augstsson in pr 3313 1997-08-03 22:24:20 +00:00
perry
e53ae14bdd Fix boot time vi recovery as reported by NAKAJIMA Yoshihiro in pr-3430
Really weird bug. On inspection, the shell code in rc looked fine, but
when tested, sure enough, the semantics of the shell were not what I
thought they were. Very unexpected to me, and obviously to the
hundreds of people who must have read those lines without seeing that
they were broken.
1997-07-31 03:35:39 +00:00
veego
fb68fae55e Move savecore up before named to get a dump on low memory systems and
move 'mount -a' between yp and nfs daemons.
1997-07-15 11:19:20 +00:00
drochner
4e045b6b43 Take 2 to get the mount order "right", taking care of possible LKM
loads before netstart this time.
LKMs can be loaded at 3 strategic places in /etc/rc - before netstart,
before "mount -a" and after all. "before netstart" works only if
the /usr filesystem is local (or on NFS, if root is too).
An additional field ("when") in lkm.conf controls when the LKM is
loaded.
1997-07-14 11:55:44 +00:00
veego
a6fe27dced Back out the last two commits for now till we find a better way to fix
the mount problems.
1997-07-11 12:01:06 +00:00
veego
6553fa7064 rc.lkm needs /usr/bin/ld, so try to mount it with -t nonfs before rc.lkm. 1997-07-11 09:06:59 +00:00
drochner
d9dfde6362 Mount only "/" at the beginning (instead of all non-NFS filesystems).
This makes that the ordering of fstab is used for mounts which is
a) more intuitive and b) needed if {mfs,union,...} on top of NFS
is wanted.
1997-07-10 13:43:14 +00:00
thorpej
650e452081 Before disk checks are performed, do a "swapctl -A -t blk" so that
block-type devices are available during disk checks, which may consume
large amounts of memory if large file systems are present.  Once "critical"
file systems (e.g. /usr and /var) are mounted, perform a "swapctl -A -t noblk"
to enable swapping on any swap files that may be listed in /etc/fstab.
1997-06-25 23:30:28 +00:00
mrg
277b52f964 use swapctl instead of swapon 1997-06-12 15:18:58 +00:00
cjs
0dd1ac7fc9 Make xntpd put its pid in /var/run/xntpd.pid. 1997-05-11 05:08:16 +00:00
scottr
bf904a4665 Spawn a separate shell for netstart, making sure to check the return value
and exit with error if appropriate.
1997-04-29 04:58:38 +00:00
perry
36b2c99667 Add support for an ntpdate_hosts variable.
settings:
	NO:	don't run ntpdate on boot
	DEFAULT:extract a list of hosts from /etc/ntp.conf
	otherwise, a list of hosts to poll with ntpdate
1997-04-27 23:17:56 +00:00
perry
889bcd37bc make motd update conditional on an rc.conf variable (update_motd), and
move it before interactive logins are possible (just in case).
1997-04-23 01:24:22 +00:00
perry
8c70b4d638 move last items from rc.local to rc; rc.local is now actually for local stuff. 1997-04-19 03:10:57 +00:00
cjs
ec30dbdca7 Added mopd. 1997-03-17 00:02:02 +00:00
mycroft
2564c9e659 When displaying the names for statd and lockd, include the `rpc.'. 1997-03-12 19:21:26 +00:00
mycroft
773a52a313 Add . GC , which isn't used. 1997-03-12 19:15:16 +00:00
mycroft
0e6463ba0a Do the DEFAULT thing with mountd_flags. Don't output an extra
newline for statd and lockd.
1997-03-10 10:15:11 +00:00
mycroft
40202c2514 Minor cleanup. 1997-03-10 09:34:59 +00:00
mycroft
2069c0127b If foo_flags is DEFAULT, run the program with a default set of flags. Most
users will use this, and therefore will never have to worry about flags
changing between releases.  It's also a bit less error-prone.
1997-03-10 09:16:13 +00:00
scottr
ba3dca973c Add configuration flags for lockd/statd, and start them if an
NFS server or client is configured and the flags are not NO.
1997-03-10 06:32:37 +00:00
mikel
ef538c3176 cleanup Lite-1 merge 1997-02-15 10:02:07 +00:00
mrg
ffabdc3a7a oops; use $savecore_flags. from kilbi@rad.rwth-aachen.de 1997-02-07 08:59:18 +00:00
mrg
3b98afb4c5 move start-time configuration from netstart, rc, rc.local into
the new /etc/rc.conf.  this also includes the following changes:

	netstart:  ifaliases now includes a netmask, to ensure
		   aliases work.

	rc/rc.local:  make _everything_ based on configuration
	in rc.conf.  also move things around such that DNS and
	YP are started early enough that other daemons needing
	their services also exist.  move ldconfig from rc.local
	here, and also make it use /etc/ld.so.conf if it exists.
	run /etc/rc.lkm if it exists, a boot time.
1997-01-05 12:01:54 +00:00
mrg
c82951e68c add inetd_flags, mostly from <jbernard@tater.Mines.EDU> in pr#2987 1996-12-04 12:55:33 +00:00
mrg
b0119cdb4c add dhcpd startup; disabled by default 1996-10-03 07:11:35 +00:00
tls
1986672399 move rpc daemon startup to after network startup so that if the machine is a DNS server and wants to resolve via itself, one doesn't have to wait for all the DNS queries to time out as each rpc daemon starts. This was particularly ugly with mountd. 1996-08-26 06:02:21 +00:00
thorpej
7143a7612e Quote the YP daemon flags variables. 1996-08-09 16:07:42 +00:00
thorpej
2dfaa56a79 Change how the YP daemons are started. Previously, ypbind was always
started if the directory /var/yp exists.  Now, ypbind, ypserv, and
rpc.yppasswdd are started like other daemons; there are flags variables
for these programs.  To disable them, set the variables to "NO", otherwise,
their contents are passed as flags.
1996-08-09 10:29:44 +00:00
mrg
59b7f344f3 add note about why we use /usr/sbin/sendmail. 1996-03-22 03:20:53 +00:00
mrg
014cccd163 now that sendmail supports SIGHUP, call sendmail with full path. 1996-03-22 00:44:59 +00:00
thorpej
8f1fa9720d Add $mrouted_flags to netstart and use it in rc to start mrouted in a manner
similar (well, identical, really) to how $routed_flags is used to start
routed.
1995-12-30 01:30:03 +00:00
thorpej
f82fcbac80 New-style RCS ids. 1995-10-08 18:11:40 +00:00