Commit Graph

88 Commits

Author SHA1 Message Date
tsarna 202af8ae4a Fix typo (enable -> enabled) 2000-07-02 18:18:20 +00:00
hubertf 3c57129f75 Clarify comment that inetd only starts up IP-based services *that are
enabled in /etc/inetd.conf* (someone asked me last week why NetBSD doesn't
come with a telnet server...)
2000-07-01 20:03:44 +00:00
itojun c60ddc2403 remove ip6defaultif configuration. because:
- ndp is in /usr/sbin, chokes on NFS-mounted /usr installation
- the option is just for IPv6 specification geek, not for normal users
2000-06-20 16:48:14 +00:00
itojun 00ded2c64e add rc.d/ipsec for ipsec configuration. when enabled, it will inject
/etc/ipsec.conf into "setkey -f".  PR 9609.
2000-06-13 16:29:53 +00:00
fvdl 0ced5dd715 Enable -6 flag to nfsd. 2000-06-09 00:08:02 +00:00
veego 5b78d0c312 Rename a remaing comment about portmap to rpcbind. 2000-06-03 17:23:59 +00:00
fvdl 580b06b52e s/portmap/rpcbind/ 2000-06-02 23:23:27 +00:00
simonb dd4d1cfbc2 Change xntpd to ntpd. 2000-05-02 12:17:28 +00:00
thorpej fad0a37405 Provide rc.d support for the Postfix mail system. Committed to the
base because there is no support for packages in rc.d, and Postfix
is supposed to become part of the base system anyhow.
2000-04-26 05:28:03 +00:00
tsarna a32696c2de Death to nfsiod!
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-04-15 21:14:48 +00:00
tsarna 506c359083 Improve backwards compatability and leave securelevel the old way. 2000-04-09 21:00:04 +00:00
tsarna 163510ecf4 The file /etc/sysctl.conf is now run with sysctl -f at boot time.
This replaces the previous /etc/rc.d/sysctl. Also, the variables are now
set earlier, between ipf/ipnat and the network coming up.

The rc.conf defcorename and securelevel variables are no more. You can
set them directly in sysctl.conf now.
2000-04-08 23:02:53 +00:00
lukem 52462864b7 ssh script removed, so remove sshd=NO line 2000-03-13 05:07:15 +00:00
thorpej 292a9f03be Since we have an "sshd" script in rc.d, we should have an "sshd" knob
in rc.conf.
2000-03-12 03:49:11 +00:00
jdolecek 020a8ac5b2 make clearing of /tmp after reboot configurable (default on), as per recent
discussion on current-users
2000-03-07 14:33:13 +00:00
itojun a3aa7fe66f add ip6defaultif configuration variable in rc.conf, for configuring
default outgoing interface for IPv6 host when default router list is empty.

the configuration is just for very rare case.  it is safe to leave it empty.
2000-02-13 07:47:26 +00:00
itojun e9056d34cb change IPv6 configuration syntax to avoid ambiguity.
ip6mode=host: IPv6 host
ip6mode=autohost: IPv6 host, with autoconfig
ip6mode=router: IPv6 router

backward compatibility to "ip6forwading" is provided.
2000-02-05 17:02:42 +00:00
fair e80b8c24a3 remove extraneous flags for xntpd startup, since there is now a
default ntp.conf file, per PR 4312
2000-01-28 06:55:52 +00:00
augustss 5e1ff60d11 Change the name rc.conf.local to rc.local.conf. This makes *.conf match all
config files.  Thanks to Greg Oster for the suggestion.
2000-01-18 22:43:23 +00:00
augustss 0028c40c50 While we're waiting for the new all singing, all dancing rc system, add
a way to configure local stuff;  if the file rc.conf.local exists it
is sourced at the end of rc.conf.
2000-01-18 21:52:38 +00:00
windsor f2672a9b29 We need to put /usr in critical_filesystems_beforenet since rc.subr
("mount_critical_filesystems local") makes no assumptions about /usr.

Under certain (semi-normal) conditions, /usr is never mounted until
"mount -a" late in rc(8), and This Is Bad.
1999-12-31 04:42:02 +00:00
windsor 623ede0b32 nit-picking spaces at EOL 1999-12-23 15:07:21 +00:00
abs be53038389 Consistency nit - use X11 in all comments not sometimes x11 1999-12-23 12:22:13 +00:00
augustss c2ca3a16f3 Add a comment about the ifconfig_xxN variables. 1999-12-22 22:55:49 +00:00
itojun c7a34c1de0 check for IPv6 kernel by exit status of "ifconfig lo0 inet6".
now IPv6 portion of netstart does not require /usr mount, it will mount it
as necessary (like pppd configuration do).

thanks goes to christos for the tip.
1999-12-20 15:12:23 +00:00
abs 2d6fbd2789 Default to -z in savecore_flags 1999-12-06 20:38:13 +00:00
lukem acc78cad94 accounting should be controllable via $accounting=YES in rc.conf... 1999-11-23 08:05:04 +00:00
fvdl 0f6157b181 Remove update, it's no longer used. 1999-11-15 20:04:50 +00:00
mycroft 80cfefa569 Disable portmap by default, and add some more comments in that section. 1999-11-05 11:19:49 +00:00
sommerfeld 6e5d9aa87d Add -f /var/db/ntp.drift to default xntpd parameters. 1999-10-09 21:07:19 +00:00
bouyer eac2fbdb83 Add support for $defcorename 1999-09-28 14:53:17 +00:00
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