Commit Graph

48 Commits

Author SHA1 Message Date
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
perry 680e326705 Change the way interfaces are configured on startup.
We no longer do /etc/hostname.* files, we do /etc/ifconfig.* files
instead, which contain lines each of which is fed to
ifconfig in turn. A new variable, net_interfaces, controls which
interfaces get brought up, by default, ifconfig -l is used to find a list.
1997-04-01 19:36:17 +00:00
cjs 7819184cce Re-ordered and added comments to match new rc.conf.5. 1997-03-23 07:57:24 +00:00
cjs ec30dbdca7 Added mopd. 1997-03-17 00:02:02 +00:00
mycroft 773a52a313 Add . GC , which isn't used. 1997-03-12 19:15:16 +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
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