summaryrefslogtreecommitdiffstats
path: root/etc/defaults
Commit message (Collapse)AuthorAgeFilesLines
* The kvm_mkdb(8) is long dead.ru2006-08-291-5/+0
|
* Use ports INDEX-7 instead of INDEX-6dougb2006-08-271-1/+1
| | | | Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se>
* Add login.conf checking to periodic security scripts. If the login.conf filetrhodes2006-08-251-0/+3
| | | | | | is not UID/GID 0, limits will be ignored and a strange error sent to auth.log. Head nod: ru, rwatson
* Make it a little clearer that interface-specific flags aren't additionalbrian2006-08-171-2/+3
| | | | | | | | to specified dhclient flags. Mention background_dhclient_iface. Suggested by: ru
* Add a -p switch to dhclient. The switch tells dhclient to persistbrian2006-08-171-0/+1
| | | | | | | | | | despite the interface link status. Add dhclient_flags_iface and background_dhclient_iface rc.conf options. (where iface is a specific interface). These can be used to give interface specific flags to dhclient. Reviewed by: brooks@
* Set removable_route_flush to NO be default. It's clearly the wrongbrooks2006-08-161-1/+1
| | | | | | | | thing to do in most (all?) cases and certainly should not be the default now that we're running pccard_ether on all interface creates and destroys. MFC after: 3 days
* Back out 1.272. The LAPIC timer conflicts with C2/3 on various systems,njl2006-08-051-2/+2
| | | | | | and so users get hangs until interrupts are generated another way. We'll have to find a way to make the 2 work together before re-enabling this by default.
* Since Alpha support isn't in HEAD anymore, remove Alpha-specificyar2006-07-211-2/+0
| | | | rc.conf(5) knobs, too: osf1_enable, unaligned_print.
* - Remove hardcoded /etc/ntp.conf configuration file from ntpdate rc.d scriptflz2006-07-201-0/+2
| | | | | | | | | | and replace it with a new ntpdate_config variable. - Document it in defaults/rc.conf and rc.conf.5. - Document ntpdate_hosts in defaults/rc.conf. Requested by: Chris Timmons <cwt@networks.cwu.edu> Approved by: cperciva (mentor, implicit) MFC after: 1 week
* Update geli_swap_flags, -e is now used to specify the encryption algorithm.brueffer2006-06-071-1/+1
|
* Add rc.d/bridge which is invoked when a new interface arrives and canthompsa2006-06-011-0/+3
| | | | | | | automaticly add it to an Ethernet bridge. This is intended for applications such as qemu, vmware, openvpn, ... which open tap interfaces and need them bridged with the hosts network adapter, the user can set up a glob for interfaces to be automatically added (eg tap*).
* Add jail_<jname>_exec_afterstart<N> rc.conf variable, where <N> ismatteo2006-05-301-0/+3
| | | | | | | | | | 1,2 and so on. It specifies the command to be run as Nth after jail startup. sh(1)-fu by: Dario Freni PR: conf/97697 MFC after: 2 weeks Reviewed by: ru@ (man page)
* Increase the nfs access cache timeout from 2 to 60. The latter is akris2006-05-241-1/+1
| | | | | | | | | | | more appropriate value and is also the default set by the kernel. I could not find a justification of why rc.conf began overriding it back in 1998. This dramatically cuts NFS traffic on e.g. a busy system with NFS root. Reviewed by: mohans MFC After: 2 weeks
* Send the pcvt(4) driver off to retirement.phk2006-05-171-19/+0
|
* Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.mlaier2006-05-121-6/+0
| | | | | Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw scripts as well.
* - Change the "jail_" prefix for internal script variables. This fixes anflz2006-05-111-1/+5
| | | | | | | | | | | | | issue where some global jail_* variables were overriden in the script. [1] - Change "jid" to "jname" in rc.conf(5), since it's more a jail name than a jail id. [1] - Update examples and comments in defaults/rc.conf to advertise new variables and the fact that some of the jail-specific variables may be made jail-global. [2] Reported by: pjd [1], clsung [2] Approved by: cperciva X-MFC after: i got sufficient testing from people using rc.d/jail
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-281-0/+1
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* Correct two typos in comments.brueffer2006-04-221-2/+2
|
* - Add new ntpd_config variable so that people can override it in rc.conf.flz2006-04-181-0/+1
| | | | | | | | - Add default value in /etc/defaults/rc.conf. - Add documentation bits to rc.conf(5). Approved by: cperciva (mentor) MFC after: 1 week
* Spell synchronous with required silent 'h'.brooks2006-04-131-1/+1
| | | | | Reported by: ru, ceri Pointy hat: brooks
* Commit the various network interface configutation updates I've beenbrooks2006-04-131-0/+2
| | | | | | | | | | | | | | | | working on. 1) Make it possible to configure interfaces with certain characters in their names that aren't valid in shell variables. Currently supported characters are ".-/+". They are converted into '_' characters. 2) Replace nearly all eval statements in network.subr with a new function get_if_var which substitues an interface name (after the translations above) for "IF" in a variable name. 3) Fix list_net_interfaces() in the nodhcp case. 4) Allow the administrator to specify if dhclient should be started when /etc/rc.d/netif configures the interface or only by devd. This can be set on both a per interface and system wide basis. PR: conf/88974 [1,2], conf/92433 [1,2]
* - Fix amd startup when amd is installed from ports.flz2006-04-111-0/+1
| | | | | | | | | - Add the according amd_program default value in defaults. PR: conf/82738 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Approved by: cperciva (mentor) MFC after: 3 days
* Add the graid3(8), gstripe(8) and gconcat(8) status scripts, default is "off".brueffer2006-03-021-0/+9
| | | | Approved by: rwatson (mentor)
* Remove vestiges of OLDCARD.imp2006-02-141-6/+0
|
* Add a default ldconfig32_paths entry in default/rc.conf for 32-bit ↵matteo2006-02-131-0/+1
| | | | | | | | | | | compatability shared libraries. It is used by the ldconfig rc.d scripts. Document this variable in the man page PR: amd64/91571 Approved by: philip (mentor) MFC after: 3
* Overhaul the named boot script:dougb2006-02-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Remove a now-spurious NetBSD CVS Id, as we are no longer synching work 2. Remove a now-spurious BEFORE, since ntpdate now REQUIRE's named 3. Replace the call to set rcvar with what that function would output, and generally reduce indirection ($name -> named) since it's highly unlikely the name of the named process or service will change any time soon. 4. Resort the order the variables at the top of the file to a more traditional format, and remove a spurious required_dirs from the top, as it works better after load_rc_config. 5. We do not want the default reload method with named, so define a simple but appropriate substitute using rndc. If I were writing this script for the first time I would not include this at all, since it's preferable to control a running daemon with rndc to start with, but given that this is already here, let's do it right. I hope that future generations will however resist the tempation to add reconfig to extra_commands. 6. By the same token, we want to use rndc to shut down named, but given that by defining a stop function we lose the "find the process by its pid file in an emergency" goodness of rc.subr, try to do something useful in the event that rndc is not available, and keep the user informed. 7. Replace some "test -f" with "test -r" to handle the unlikely event that the relevant file exists, but is unreadable. 8. Twiddle whitespace in a few areas, remove a spurious blank line, a bogus double space, and try to do better indenting. 9. Improve generation of the rndc.key file significantly a. If for some reason a user has an rndc.conf file, assume that they did that on purpose, and hence know what they are doing, so leave them alone. b. Introduce a named_uid configuration variable so that the user which owns the rndc.key file and the user named runs as always match, and is more easily configurable. This should dramatically reduce problems with rndc. c. Also test that the rndc.key file size is greater than zero, rather than simply that the file exists. I have seen at least one user report this exact problem, and although neither of us is sure where the empty file came from, the fix is simple, so include it. d. Rather than try to create an rndc.key file in both /etc/namedb and the chroot'ed /etc/namedb, assume that they are be the same (which they should be), and only create the file in the chroot'ed version of the directory. This partially addresses the problem described in conf/73929, but I have not yet finished thinking about the PREFIX issue that PR also raises. As a result of introducing the named_uid knob, the default named_flags are now empty. Update defaults/rc.conf and rc.conf(5) to reflect these changes.
* - Add a startup script for hostapd.flz2006-02-031-0/+1
| | | | | | | - Document associated variable in rc.conf(5). Approved by: dougb MFC after: 1 week
* Add auditd_enable and auditd_flags rc.d scripts.rwatson2006-02-021-0/+2
| | | | Obtained from: TrustedBSD Project
* Make df output more consistent:matteo2006-01-301-1/+1
| | | | | | | | Remove -k now that -h is present use -l instead of -t nonfs to match smbfs too [1] PR: conf/50956 [1] Approved by: philip (mentor) MFC after: 3 days
* Make df output in periodic mail human readablematteo2006-01-301-1/+1
| | | | | | | PR: conf/87196 Submitted by: Mike <mspam@ideaway.net> Approved by: philip (mentor) MFC after: 3 days
* Enable the lowest Cx state by default. This will save power and we havenjl2006-01-291-2/+2
| | | | had enough testing of acpi_cpu to know this is stable now.
* Add an rc.d script for stand-alone ftpd.yar2006-01-211-0/+3
| | | | | | | | Document the script's controls on the rc.conf(5) manpage and touch its Dd. PR: conf/90893 MFC after: 5 days
* Add a daily script to show the status of gmirror(8) devices.wollman2006-01-131-0/+3
|
* Add a mechanism to include files added by ports which containdougb2006-01-081-0/+5
| | | | | | | | | | | | the names of directories to include in the base ldconfig script. This will eliminate the need for each port to install its own boot script which does nothing but ldocnfig a given directory. This code was developed by flz (ports committer), discussed on freebsd-rc@, and modified slightly by me. Submitted by: flz Reviewed by: brooks
* Brooks pointed out a potential problem with disabling the X cleaningdougb2005-12-201-0/+1
| | | | | | | | by default, so add a new knob that is on by default, and check that knob in start_precmd so that it can run even if cleaning /tmp is not enabled. This has the advantage of not violating POLA, while still allowing the user to disable this behavior if they wish (for example on a server that will never run X).
* Clear up problems with /etc/rc.d/{abi|cleanvar|cleartmp} broughtdougb2005-12-191-0/+4
| | | | | | | | | | | | | | | | | to light by the PR. Specifically, convert these three scripts into good rc.d citizens, making sure that their functionality is preserved, but the rc.d framework rules are not broken. Add support for cleanvar as a regular rc.d script in the default rc.conf, and document this in the man page. Add a descriptive comment to rc.conf that regarding the three emulation/compatibility services provided by abi so users will not be confused by these services not having their own startup scripts. PR: conf/84574 Submitted by: Alexander Botero-Lowry
* Remove usbd(8) and all references to it. It is no longer necessaryiedowse2005-12-151-2/+0
| | | | | | since devd(8) now provides the same functionality. Submitted by: Anish Mistry
* Remove rcconf.sh from /etc/rc.d, and instead load the configurationdougb2005-12-101-0/+5
| | | | | | | | | | | | | | | | as part of rc. Doing this, and the sourcing of rc.subr after we have determined if we are booting diskless (and correspondingly run rc.initdiskless if necessary) are safe, and actually allow fewer files to be needed on the diskless box. This also allows variables from the configuration to be available to rc itself, such as ... Add a variable to rc.conf, early_late_divider, which designates the script which separates the early and late stages of the boot process. Default this to mountcritlocal, and add text to etc/defaults/rc.conf, rc.conf(5) and diskless(8) which describes how and why one might want to change this. Reviewed by: brooks
* Files are installed with mode 444 by default.ru2005-12-091-1/+0
|
* Add a -f configfile option to devd(8), based on a patch submitted byjkoshy2005-11-241-0/+1
| | | | | | Wojciech A. Koszek. Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
* Revise hcsecd(8) and sdpd(8) rc.d scripts one more timeemax2005-11-221-2/+2
| | | | | | | | | | - Use _prestart rc.d method to automatically kldload ng_btsocket(4) if needed; - Rename "sdpd_user" to "sdpd_username" and "sdpd_group" to "sdpd_groupname" to avoid collision with "magic" variables; Inspired by: yar MFC after: 3 days
* Add a new configuration variable, ipv4_addrs_<ifn>, which adds one orbrooks2005-11-141-0/+1
| | | | | | | | | | | more IPv4 address from a ranged list in CIRD notation: ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28" In the process move alias processing into new ipv4_up/down functions to more toward a less IPv4 centric world. Submitted by: Philipp Wuensche <cryx dash freebsd at h3q dot com>
* Start integrating Bluetooth into rc.d system.emax2005-11-102-1/+113
| | | | | | | | | | | | | | | | | | | | | | | | | Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It will be called from devd(8) in response to device arrival/departure events. It is also possible to call it by hand to start/stop particular device without unplugging it. Introduce generic way to set configuration parameters for Bluetooth devices. By default /etc/rc.d/bluetooth script has hardwired defaults compatible with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These can be overridden using /etc/defaults/bluetooth.device.conf file (system wide defaults). Finally, there could be another device specific override file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0 etc.) The list of configuration parameters and their meaning described in the /etc/defaults/bluetooth.device.conf file. Even though Bluetooth device configuration files are not shell scripts, they must follow basic sh(1) syntax. The bluetooth.device.conf(5) and handbook update will follow shortly. Inspired by: Panagiotis Astithas ( past at ebs dot gr ) Reviewed by: brooks, yar MFC after: 1 week
* Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults intoemax2005-10-111-0/+9
| | | | | | | | | /etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices are attached to the system. Both daemons depend on Bluetooth socket layer and thus disabled by default. Bluetooth sockets layer must be either loaded as a module or compiled into kernel before the daemons can run. MFC after: 1 month
* Add an rc.d script to start pfsync at the right moment of theyar2005-10-021-0/+3
| | | | | | | | | | | | | system boot, and hook it up in the system. The separate script is needed because in the presence of various interface lists in rc.conf ($network_interfaces, $cloned_interfaces, $sppp_interfaces, $gif_interfaces, more to come) it is hard to start them orderly, so that pfsync is brought up after its syncdev, which is required for the proper startup of pfsync. Discussed with: mlaier on -pf MFC after: 5 days
* Add a new rc.conf entry, kerberos5_server_flags, which allows therwatson2005-09-201-0/+1
| | | | | | | administrator to specify additional start-up flags to the Kerberos 5 Authentication Server. MFC after: 3 days
* Stop hard-coding an -M flag to mdmfs(8) in /etc/rc.subr.yar2005-08-241-2/+2
| | | | | | | | | | | Now this flag can be set, or not set, for memory-backed file systems on individual basis, as illustrated by the rc.conf(5) variables tmpmfs_flags and varmfs_flags. The flag is set for those FS'en by default, in /etc/defaults/rc.conf, in order to stay compatible with the old rc.subr behaviour. Submitted by: marck MFC after: 3 days
* - Remove the removable_interfaces variable. /etc/pccard_ether willbrooks2005-08-241-1/+0
| | | | | | | | | | | | now run on any interface. - Add a new ifconfig_<ifn> keyword, NOAUTO which prevents configuration of an interface at boot or via /etc/pccard_ether. This allows /etc/rc.d/netif to be used to start and stop an interface on a purely manual basis. The decision to affect pccard_ether may be revisited at a later date. Requested by: imp, gallatin (removable_interfaces) Discussed with: sam, Randy Bush (NOAUTO)
* Add scripts for GELI device configuration on boot.pjd2005-08-141-1/+17
| | | | | | | | | | rc.d/geli - configures encryption (ask for passphrases, etc.); rc.d/geli2 - is called after file systems are mounted and mark devices for detach on last close. Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl MFC after: 3 days
* Teach rc.d/encswap script how to use geli(8) for swap encryption.pjd2005-08-051-0/+2
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud