Commit Graph

94 Commits

Author SHA1 Message Date
lukem 0c020b6812 migrate guts of these /etc/foo.conf config files into /etc/default/foo.conf,
and source the latter in the former.  this makes it easier for a sysadmin to
upgrade the default files without affecting local config, and retains the
semantics that the /etc/foo.conf files are the actual files that are edited
(as opposed to /etc/foo.local.conf or /etc/foo.conf.local or whatever, which
isn't as intuitive).
2000-08-21 23:06:22 +00:00
abs 31a6224745 Move options into ntp_flags, to make it possible to add '-u' without
modifying rc.d/ntpdate
2000-08-21 14:48:39 +00:00
thorpej 81958d9213 Add kdc/kdc_flags variables. 2000-08-06 21:34:17 +00:00
jwise 5da8f604df Add $sshd and $sshd_flags for use by both usr.bin/sshd and pkgsrc/security/{open,}ssh
As a precedent, note the presence of $gated, even though we do not distribute
gated outside of pkgsrc.
2000-07-31 20:47:41 +00:00
lukem e15f7a2a6f clarify the difference between $critical_filesystems_beforenet and
$critical_filesystems, and why `/var' should be in the former (or
implied as part of `/' which is already mounted).
2000-07-22 01:09:44 +00:00
lukem 9c7a535df6 - be consistent in formatting sentences
- note that xdm might need wscons for local X servers (c.f. [install/9967])
2000-07-21 00:25:31 +00:00
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