Commit Graph

57 Commits

Author SHA1 Message Date
itojun 02972f5985 add sanity check on rtadvd invocation (allowed on IPv6 routers only).
add rc.conf entry for rtsold.
1999-09-03 13:40:15 +00:00
is 79de537d1c Screenblank has supported more than sun3 and sparc for a long, long time. 1999-08-16 20:01:03 +00:00
drochner db20439533 repair diskless startup: "netstart" needs "sysctl" and "awk" now, thus
"/usr" must be mounted. mount_critical_filesystems() didn't mount it,
even if listed in "critical_filesystems", if it is nfs.
Solution: introduce another rc.conf variable
"critical_filesystems_beforenet" which contains filesystems to be mounted
before "netstart".
Perhaps "netstart" should be split up, but this would make things even
more complex...
1999-07-07 21:24:56 +00:00
itojun 94e64335b4 add IPv6 configuration (ip6forwarding, rtsol, route6d and rtadvd).
Right now netsetart does not bother you even if you do not have
"options INET6" in the kernel.
1999-07-03 03:29:29 +00:00
augustss aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
jwise 05bdcfc198 Minor wording change in a comment (also formerly known as -> formerly known as) 1999-05-18 03:30:02 +00:00
perry 9c072e268f make -s flags for syslogd and lpd the default 1999-04-29 18:26:43 +00:00
nathanw 5e40cf296d Move the knowledge that /usr and /var should be mounted early from
rc.subr to the default rc.conf.
While this is no longer necessary to supress noise,
it increases the clarity of the situation and removes
one more bit of what should be adjustable configuration
from scripts that site admins shouldn't have to edit.

Addresses PRs misc/7406 and (partially) bin/7491.
1999-04-28 23:32:29 +00:00
jwise 11f13fe80d Remove comment about critfs_requires_network, which has gone away 1999-04-21 21:58:29 +00:00
mellon e6bc2dc3c6 Add a note about critfs_requires_network on dhclient line. 1999-04-09 15:18:51 +00:00
cjs 668efbbcec Change mount_critical_filesystems() so that if given an argument
of "local" it will not mount filesystem types it identifies as
network file systems (currently just nfs). Call the function twice,
before networking starts with arg "local", after networking starts
with arg "network". Remove critfs_require_network as is now redundant.
1999-04-01 03:58:44 +00:00
sommerfe 5a90dbf495 Add dhcrelay startup (allow only if dhcpd isn't started) 1999-03-26 13:10:17 +00:00
mellon fce1081120 Add critfs_require_network, dhclient and dhclient_flags variables. 1999-03-24 18:50:07 +00:00
drochner 1cc109aa7d rc.wscons can take arguments, so we shouldn't simply source it but exec in
a subshell. Being here, add a prototype wscons_flags variable.
1999-03-17 15:49:47 +00:00
drochner 0fc97689ec introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc
if it is set
1999-03-14 14:04:40 +00:00
mrg 4471dfd72e oops, do not set a default securelevel. 1999-02-01 00:32:52 +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
cjs d26897ab43 Separate hardware daemons and add comments. 1998-12-22 13:58:37 +00:00
mrg 76ee97dd88 do not start usbd by default. 1998-12-06 08:37:29 +00:00
bad 96cda5fe94 A basic /etc/rc.shutdown. Bails out if do_rcshutdown!=YES in /etc/rc.conf
(default is YES).  Kills xdm and waits for it to terminate if it was enabled
in rc.conf (based on a code snippet from Ignatios).
1998-10-29 20:24:56 +00:00
tv 52c5bfaee0 Disable rc.lkm by default. This has the nontrivial, hidden effect that if
rc.lkm is run, and BIND is used to resolve names, the BEFORENET stage of
rc-calling-rc.lkm will hang trying to mount a nfs /usr.
1998-09-14 18:22:20 +00:00
lukem 55c8240d52 add /usr/pkg/sbin:/usr/pkg/bin to (commented out) PATH entry 1998-08-04 04:09:05 +00:00
augustss 250dd33583 Turn on the usbd daemon per default. It's harmless since it just
exits if there are no USB controller.
1998-08-01 20:57:59 +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
fair 048c02b861 no changes in previous rev, as documented; goof! (sorry). Once again - document that "domainname" is about YP/NIS, not Internet, per PR#5442 1998-05-11 19:01:13 +00:00
mrg 4c04041950 add "screenblank" support. 1998-04-07 04:47:33 +00:00
lukem a6fc46b600 fix indentation 1998-01-26 12:01:35 +00:00
christos 0a66272517 PR/3638: David Brownlee: Add /etc/ipnat.conf functionality. 1997-12-20 20:11:53 +00:00
chuck 40fa2961dc fix formatting 1997-12-03 16:41:53 +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
mrg dae7a8ed1d - remove additional `adding interface aliases:' message.
- add `ppp_peers' support, which will run `pppd call <peer>' for each
  peer listed in the ppp_peers file that also has a /etc/ppp/peers/<peer>
  configuration file.
1997-11-17 17:45:28 +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
mrg 4902b56931 turn off lpd by default. 1997-10-06 14:10:22 +00:00
bouyer 8f21e932b0 Typo in comments: netstart uses /etc/defaultdomain, not /etc/domainname. 1997-09-15 11:42:26 +00:00
cjs 26d1975b33 Add -l option to inetd. 1997-09-07 19:13:50 +00:00
veego fb251b85eb Only start programms which we started in the previous version (1.15)
and also don't use the PATH with /usr/local/sbin:/usr/local/bin .
1997-08-29 10:22:24 +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
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
phil 779c94c7af Allow routes to be flushed in netstart (rc.conf option, default YES).
PR 3228.
1997-07-22 18:41:08 +00:00
lukem 54e2fe6d7e provide empty settings for $hostname, $domainname and $defaultroute,
with comments indicating alternation locations for info
1997-05-12 11:33:31 +00:00
mikel 1e90223347 ntpdate is not a daemon, and add comment for kerberos_server 1997-05-12 05:00:13 +00:00
cjs 0dd1ac7fc9 Make xntpd put its pid in /var/run/xntpd.pid. 1997-05-11 05:08:16 +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
cjs 1470f854b3 Move network interface config after programs run on boot-up, to match
the order this actually happens in at boot time.
1997-04-02 01:59:04 +00:00