Commit Graph

64 Commits

Author SHA1 Message Date
christos 3ccdf9a0d7 default swapoff to yes, and explain why. 2005-06-15 03:34:45 +00:00
dsainty 3507ec273f Comment typos: unecessary->unnecessary, accidentaly->accidentally 2004-10-09 02:18:48 +00:00
atatat 89fc8be761 Change the default settings for sendmail.
(1) The stock sendmail.cf will only listen on the loopback interface.
(2) The stock submit.cf specifally connects to "localhost." which
    should be less susceptible to being confused or looking confused.
(3) The smtp listener starts by default, if needed.  The setting in
    /etc/default/rc.conf is still "no", but rc.d/sendmail detects the
    default setting and will change it to yes if need is determined.

Need is defined as "nothing else seems to have been changed about the
mail configuration but we'd like locally originated and locally
destined mail to be delivered".  If you change, eg, mailer.conf to
point to postfix or some other MTA, sendmail will not start.
2004-07-15 03:47:18 +00:00
atatat 5f89bdd921 Make the directory into which crash dumps are saved into something
that can be controlled via rc.conf.  The default is, of course,
/var/crash.
2004-07-15 03:29:55 +00:00
martin 81b4ff7c8b PR bin/26142: add defaults for $pf and $pflogd. 2004-07-04 13:59:34 +00:00
abs 050f98e610 Add quota=YES and ldconfig=YES 2004-06-03 16:30:44 +00:00
dbj 1195d38f2f add support for turning off fixsb in rc.conf
default is fixsb=YES
2004-04-18 03:49:43 +00:00
mrg f79db8d04e move ipmon's "-D" argument from "command_args" to "ipmon_flags" so that
passing an (optional) filename argument (that must come last) works fine
from $ipmon_flags.  from PR#25006.
2004-04-04 13:59:36 +00:00
jonb c384cda06a Add ssh_keygen_flags variable to rc.conf to allow users to set the
size of auto-generated keys if desired.
2004-02-18 17:36:34 +00:00
christos 2a8f4efd20 add line for standalone identd invocation. 2004-01-31 21:49:52 +00:00
blymn af8c26254d Add veriexec to defaults. 2004-01-14 06:54:48 +00:00
uebayasi 79ca61d5d8 Define an rcvar "virecover" so that this can be configurable. The default
is YES.
2004-01-11 14:21:43 +00:00
martin 448491ee86 Add a new /etc/rc.conf option: rtclocaltime=YES adapts the RTC offset
at boot automatically, so a machine dual booting another OS that uses
the RTC at localtime and NetBSD agree on the current time even if daylight
saving started/ended (without recompiling a kernel twice per year).
Awk code by Matt Thomas.
2003-12-27 00:23:22 +00:00
christos b5aee30a01 set fsck_flags=-p in /etc/defaults/rc.conf instead of checking if it is
empty in /etc/rc.d/fsck. From Bernd Ernesti.
2003-10-20 15:02:15 +00:00
wiz ea949da1c7 Add a knob to turn off automatic configuration (via rc.d) of
non-auto-configured (via kernel) raid devices. oster says ok.
2003-09-10 14:50:19 +00:00
thorpej 7fcb5daedb Add defaults for powerd(8). 2003-04-18 05:21:20 +00:00
atatat 4beb2262be Capitalize the word "if". 2003-04-02 18:17:27 +00:00
atatat d47616429d Expand the sendmail settings section (from two to five) and elaborate
(in brief) on what it's all about.
2003-03-24 15:20:36 +00:00
wiz 4f30393de2 Allow ccd autoconfiguration to be turned off (by setting ccd=NO in
/etc/rc.conf; default is YES.)
Suggested by elric, ok'ed by lukem.
2003-03-19 08:54:00 +00:00
wiz 4c74ff3fdd Allow cgd configuration to be skipped (by setting cgd=NO, defaults to YES).
Closes my PR/20766.  Based on a suggestion by lukem.
2003-03-19 06:06:47 +00:00
lukem b307261961 clarify that lkm needs /usr 2003-03-10 18:21:00 +00:00
kent ba5fd9b3f8 /etc/rc.d/mixerctl: Add capability to save and restore mixer settings.
Thanks to Julio Merino.
2002-10-12 11:29:28 +00:00
takemura b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
thorpej afbf483286 Add a wdogctl startup/shutdown script. 2002-07-30 05:58:42 +00:00
christos e2eb1d43c0 add a line about wsmoused commented out. 2002-06-27 15:10:32 +00:00
lukem 56dc20a9f6 ntpd_chrootdir needs /dev/clockctl as well 2002-06-17 06:47:58 +00:00
lukem 3da8227a70 $ntpd_chroot requires "pseudo-device clockctl" in the kernel 2002-06-15 01:55:44 +00:00
lukem 96e2ff62c8 Add two new rc.conf(5) variables:
rc_rcorder_flags		extra flags to rcorder(8) in /etc/rc
    rcshutdown_rcorder_flags	extra flags to rcorder(8) in /etc/rc.shutdown

This can be used to specify extra directories to search for rc.d scripts in.
For example, adding the following to rc.conf(5):
	rc_rcorder_flags="/usr/pkg/etc/rc.d/*"
	rcshutdown_rcorder_flags="/usr/pkg/etc/rc.d/*"
will add the files in /usr/pkg/etc/rc.d to the list of files that rcorder(8)
uses to build the list of scripts to start or stop.

I proposed this functionality on tech-userlevel@ over one month ago.
Closes the recent [misc/16888], which asked for a similar feature.
2002-05-19 01:01:32 +00:00
lukem b3cffe8cbf deprecate $sshd_conf_dir and hardcode /etc/ssh.
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).
2002-04-29 05:55:05 +00:00
martin c095b10bc5 Now that isdnd does auto-UP/DOWN itself, remove it from the rc.d script.
Remove all related rc.conf options as well, we now have fine-grained
controll in /etc/isdn/isdnd.rc.
2002-04-10 23:37:12 +00:00
lukem 5ee7ac8886 Replace $critical_filesystems_beforenet with $critical_filesystems_local .
Replace  $critical_filesystems            with  $critical_filesystems_remote .

The new names are now consistent with the type argument that
mount_critical_filesystems() is called with, and allows for other types to
be easily supported by that function.

For backwards compatibility purposes, if the now obsolete variable is defined
(even empty), it takes precedence over the new form, and you will be warned.
If you want to stop the warnings, update your rc.conf(5) settings!
2002-03-27 08:53:39 +00:00
lukem 3c3d3219ff Implement rc.conf(5) variable `` $swapoff ''.
If set to yes, block-type swap partitions will be deleted upon shutdown.
This can be useful if swapping onto a RAIDframe device, but may cause
unnecessary delays during shutdown for the general case, so it's
disabled by default.
Should resolve [bin/14433] and [kern/14769].
2002-03-21 23:08:35 +00:00
itojun 0a2445c3b6 move sshd config files to /etc/ssh 2002-03-11 04:57:55 +00:00
lukem c5a625870b ipmon: set -D via command_args rather than the default ipmon_flags.
resolves [install/15753]
2002-02-28 01:06:13 +00:00
lukem 7d6824228d Support alternate config dir for sshd conf file and keys (defaults to "/etc").
Based on [misc/12473] from Jim Bernard.
2002-02-24 12:50:08 +00:00
garbled 120f0525b3 add a note requesting people edit share/sushi/system/rcconf/form when editing
this file to keep it in sync.
2002-02-21 19:59:09 +00:00
martti d7bcd10a27 ipfs allows state information created for NAT entries and rules using
keep state to be locked (modification prevented) and then saved to disk,
allowing for the system to experience a reboot, followed by the restoration
of that information, resulting in connections not being interrupted.

To activate this feature, set ipfs=YES in /etc/rc.conf
2002-02-11 10:19:55 +00:00
lukem 6405cef9be minor cosmetic changes (no functional change) 2002-01-21 14:33:25 +00:00
lukem f9d5a55631 commented out entry for ntpd_chrootdir 2002-01-18 10:53:29 +00:00
martin 2859135383 Add rc.d support for ifwatchd (used to run ip-up/ip-down scripts for
in-kernel pppoe interfaces).
2001-12-10 16:53:06 +00:00
augustss 0f4c5ed617 Add moused, default off. 2001-10-29 23:25:00 +00:00
lukem 01c63bc35a - add "ntpd" user (homedir: /var/chroot/ntpd) and "ntpd" group, for use by
future work to support a chroot(8)ed ntpd
- move /var/named -> /var/chroot/named for consistency with ntpd
2001-10-11 07:21:07 +00:00
hubertf d8250777f4 Make rtsol_flags default to -a, to do Router Solicitation on all
interfaces when someone sets rtsol=YES.

OK'd by Itojun.
2001-09-24 11:34:11 +00:00
mason 80e5affebe language corrections 2001-09-19 23:42:21 +00:00
martin d7e4ab316c Add support to down some interfaces before shutting down the system. All
pppoe*  interfaces are automatically shut down by this script, others may be
added to the force_down_interfaces variable in /etc/rc.conf.
2001-09-04 18:09:13 +00:00
tron 3543e0f5fa Start "ipmon" with option "D" for daemon mode instead of starting it
in a subshell.
2001-07-05 05:26:57 +00:00
lukem 919eb089e2 change mountd to use its own $mountd variable (instead of $nfs_server).
nfsd will complain if mountd isn't set.  from [misc/13135] by Johnny C. Lam.
2001-06-16 06:13:09 +00:00
lukem 586521f84e - Implement an optional global watchdog timeout for rc.shutdown, which is
enabled by setting $rcshutdown_timeout to a number of seconds to wait for
  before terminating rc.shutdown.  This is disabled by default.
- Use symbolic names rather than numbers when defining a trap.
- Improve some comments.
2001-06-16 04:09:19 +00:00
fredette b934309492 sunndd has been renamed to ndbootd. 2001-05-22 14:51:37 +00:00
fredette bc14be100e Added rc.d support for sunndd. 2001-05-17 23:19:06 +00:00