Commit Graph

116 Commits

Author SHA1 Message Date
frueauf 6f443e73b3 No need to involve awk in the securelevel part, since sysctl has the -n switch.
Pointed out by NAKAJIMA Yoshihiro.
1999-02-07 14:56:01 +00:00
bad cad34284f4 Use peers too when setting the time via ntpdate. 1999-02-07 00:47:08 +00:00
frueauf 1b01f4840e Add missing '' for awk in the securelevel part. 1999-02-06 23:22:31 +00:00
mrg e4603ca8f7 oops, that's -n not -z. pointed out by hubert... 1999-02-01 00:34:25 +00:00
mrg eddf0f4e2c increase the securelevel (using the same rules as before) much earlier in the
boot process.  before cron, sendmail, inetd, etc, are run, but after lkms are
loaded.  this avoids the chances of `@reboot', mail .forwards, remote logins,
etc., happening before the securelevel has been raised.
1999-01-31 08:46:58 +00:00
mrg 97a24ca055 support dmesg=NO and dmesg_flags, and do not cut the old boot messages..they might be useful. fix a typo (rbootd is not rarpd) 1999-01-12 12:42:46 +00:00
jwise f6cc762de0 Enable cron to be turned on and off from rc.conf, like other daemons.
From Soren S. Jorvang <soren@t.dk>, closes his PR bin/5250.
1999-01-12 04:58:37 +00:00
jwise 4b0bbbdbe6 Add $portmap_flags variable, now that portmap has optional flags, and
by default, pass '-l' flag (libwrap logging) by analogy with inetd
1999-01-11 21:04:38 +00:00
abs 8ab9483f37 save a copy of the boot messages. Closes 6398 from msanders@confusion.net 1999-01-06 03:41:44 +00:00
tron 7d0d25360f Add support for RAIDframe configuration as suggested by Eric S. Hvozda
in PR install/6676.
1999-01-04 00:49:36 +00:00
hubertf 483a921963 allow /var/crash to be a symlink to a directory 1998-11-21 03:00:38 +00:00
augustss deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
tron 2e5ce72aad Strip comments from "${amd_master}". 1998-06-21 16:38:38 +00:00
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