Commit Graph

76 Commits

Author SHA1 Message Date
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
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