summaryrefslogtreecommitdiffstats
path: root/etc/defaults
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove gbde_swap_enable option which doesn't work and doesn't really have topjd2005-08-041-2/+0
| | | | work, as one still needs to put <device>.bde into /etc/fstab.
* Minor comment re-alignment.obrien2005-07-221-4/+4
|
* - Mention special behaviour of init(8) when kern_securelevel="0"pav2005-07-211-0/+3
| | | | | Suggested by: Miroslav Lachman <000.fbsd@quip.cz> Approved by: cperciva (src hat)
* Introduce new per-jail variable jail_<name>_flags, which allows to specifypjd2005-06-261-0/+1
| | | | | | | | | jail(8) flags (before the change we had hardcoded "-l -U root"). Submitted by: Frank Behrens <frank@pinky.sax.de> PR: conf/80244 Approved by: re (scottl) MFC after: 1 week
* Remove default and documenation for pccard_ether_delay since I removedbrooks2005-06-081-1/+0
| | | | | | it from /etc/pccard_ether. Submitted by: Jeremie Le Hen <jeremie at le-hen dot org>
* Change the default for dumpdev to "AUTO". It should be reverted to "NO"des2005-06-071-1/+1
| | | | on RELENG_* branches.
* Support code for the OpenBSD dhclient. This significantly changes thebrooks2005-06-071-0/+1
| | | | | | | | | | | | | | | | | | way interfaces are configured. Some key points: - At startup, all interfaces are configured through /etc/rc.d/netif. - ifconfig_<if> variables my now mix real ifconfig commands the with DHCP and WPA directives. For example, this allows media configuration prior to running dhclient. - /etc/rc.d/dhclient is not run at startup except by netif to start dhclient on specific interfaces. - /etc/pccard_ether calls "/etc/rc.d/netif start <if>" to do most of it's work. - /etc/pccard_ether no longer takes additional arguments to pass to ifconfig. Instead, ifconfig_<if> variables are now honored in favor of pccard_ifconfig when available. - /etc/pccard_ether will only run on interfaces specified in removable_interfaces, even if pccard_ifconfig is set.
* Add startup script and default configuration file for bsnmpd.glebius2005-04-171-0/+6
| | | | Reviewed by: harti
* Document that dumpdev may be set to AUTO to dump to the first appropriatethomas2005-04-121-1/+1
| | | | swap device listed in /etc/fstab.
* The alternative suggested for /entropy as a shutdowndougb2005-04-111-1/+1
| | | | | | | | | | | | | | | save file was /var/db/entropy, which also happens to be the directory where the individual entropy files created by /usr/libexec/save-entropy are stored. Change the suggestion to be /var/db/entropy-file instead. In an error condition where the shutdown file is not created, the error message accessed a variable that doesn't exist. PR: conf/75722 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Set CPU speed to 100% in acpi_throttle attach. This is needed for somenjl2005-04-101-2/+2
| | | | | | | | | systems that boot with this value at the lowest setting. Change the default boot config back to "leave frequency as BIOS set it". Also, fix buglet where acpi_throttle wouldn't be used if p4tcc was present but disabled by the user. MFC after: 1 week
* Instead of leaving the current frequency setting at whatever the BIOS setnjl2005-04-031-2/+2
| | | | | | | | on boot, force it to HIGH. This is needed for some systems which appear to boot with a low acpi_throttle setting by default. Thanks to Christian Brueffer for tracking this down on his system. MFC after: 1 day
* Remove mac_lomac(4) functionality. The proper way is to use loader.conftrhodes2005-03-121-1/+0
| | | | | | or build the policy into a kernel. Approved by: rwatson
* Allow chkprintcap(8) to be run before lpd is started. Disabled bybrooks2005-03-021-0/+2
| | | | | | | | | | | | default for now. Default flags create missing directories. Remove comment about doing this in etc/rc.d/var. Unlike in the PR, I chose to do this in the lpd script where we reliably have /usr available. PR: conf/71488 Submitted by: RZ-FreeBSD0904 at fh-karlsruhe dot de
* - Update etc/rc.d/newsyslog to FreeBSD standards and install it.brooks2005-03-021-0/+2
| | | | | | | | | | | | | | | | | - Enable it by default, running newsyslog with -CN which creates files that have the C flag specified in /etc/newsyslog.conf. - Remove the "newsyslog -CC" call from etc/rc.d/var and the check for newsyslog. - Add the C flag to entries in /etc/newsyslog.conf that are currently installed as part of the base system. There are two effects from this change: - Users who delete default syslog files to stop logging to them will need to set newsyslog_enable=NO in rc.conf or remove the C flag from those file in /etc/newsyslog.conf or they will come back on the next boot. - Diskless systems now create the same set of files that ordinary systems have by default instead of every file in newsyslog.conf.
* Due to a couple complaints about C3 failing on an old Compaq Armada andnjl2005-02-271-2/+2
| | | | | a mobile Celeron, disable it by default for the release. We'll have to nail the last few cases later.
* Add rc.conf options for powerd (disabled by default) and hook the scriptnjl2005-02-261-0/+2
| | | | up to the build.
* Make power_profile not touch cpufreq by default.njl2005-02-261-2/+2
|
* Add support for cpufreq to power_profile(8). Values for on/offline cpunjl2005-02-061-2/+2
| | | | | | frequencies are specified with performance_cpu_freq and economy_cpu_freq. Of course, special values LOW and HIGH are also supported. Also, remove old throttling support.
* Add a reference to the periodic.conf(5) manual page.keramida2005-01-241-0/+3
| | | | Suggested by: simon
* Add a reference to rc.conf(5).keramida2005-01-241-1/+3
| | | | | PR: docs/35648 Submitted by: Gary W. Swearingen
* Another prism2 card (not sure what, if anything, is needed for >=5)imp2005-01-111-0/+6
| | | | Pr: 43805
* Ports index file is now INDEX-6paul2005-01-041-1/+1
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Use rc.subrbrian2004-12-151-0/+1
| | | | | PR: 72505 Submitted by: Amir Shalem <amir@active.ath.cx>
* Improve the RC framework for the clean booting/shutdown of Jails:rse2004-12-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Feature: for flexibility reasons and as a prerequisite to clean shutdowns, allow the configuration of a stop/shutdown command via rc.conf variable "jail_<name>_exec_stop" in addition to the start/boot command (rc.conf variable "jail_<name>_exec_start"). For backward compatibility reasons, rc.conf variable "jail_<name>_exec" is still supported, too. 2. Debug: Add the used boot/shutdown commands to the debug output of the /etc/rc.d/jail script, too. 3. Security: Run the Jail start/boot command in a cleaned environment to not leak information from the host to the Jail during startup. 4. Feature: Run the Jail stop/shutdown command "jail_<name>_exec_stop" on "/etc/rc.d/jail stop <name>" to allow a graceful shutdown of the Jail before its processes are just killed. 5. Bugfix: When killing the remaining Jail processes give the processes time to actually perform their termination sequence. Without this the subsequent umount(8) operations usually fail because the resources are still in use. Additionally, if after trying to TERM-inate the processes there are still processes hanging around, finally just KILL them. 6. Bugfix: In rc.shutdown, if running inside a Jail, skip the /etc/rc.d/* scripts which are flagged with the KEYWORD "nojail" to allow the correct operation of rc.shutdown under jail_<name>_exec_stop="/bin/sh /etc/rc.shutdown". This is analogous to what /etc/rc does inside a Jail. Now the following typical host-configuration for two Jails works as expected and correctly boots and shutdowns the Jails: ----------------------------------------------------------- # /etc/rc.conf: jail_enable="YES" jail_list="foo bar" jail_foo_rootdir="/j/foo" jail_foo_hostname="foo.example.com" jail_foo_ip="192.168.0.1" jail_foo_devfs_enable="YES" jail_foo_mount_enable="YES" jail_foo_exec_start="/bin/sh /etc/rc" jail_foo_exec_stop="/bin/sh /etc/rc.shutdown" jail_bar_rootdir="/j/bar" jail_bar_hostname="bar.example.com" jail_bar_ip="192.168.0.2" jail_bar_devfs_enable="YES" jail_bar_mount_enable="YES" jail_bar_exec_start="/path/to/kjailer -v" jail_bar_exec_stop="/bin/sh -c 'killall kjailer && sleep 60'" ----------------------------------------------------------- # /etc/fstab.foo /v/foo /j/foo/v/foo nullfs rw 0 0 ----------------------------------------------------------- # /etc/fstab.bar /v/bar /j/bar/v/bar nullfs rw 0 0 ----------------------------------------------------------- Reviewed by: freebsd-hackers MFC after: 2 weeks
* Add Ethernet part of Intel EtherExpress PRO/100 LAN/Modem card. This is arsm2004-12-091-1/+8
| | | | | | | | | | rebadged Xircom REM56 RealPort card. Short MFC timeout to beat the 4.11 code freeze. PR: 53027 Submitted by: John Merryweather Cooper <coop9211 at uidaho dot edu> Approved by: imp (mentor) MFC after: 2 days
* Add nfs4 to list of net filesystems.rees2004-12-011-1/+1
| | | | Approved by: alfred
* Teach periodic(8) security output to display information about blockedmlaier2004-11-241-0/+3
| | | | | | | | | | | | | | | | | | packet counts by pf(4). This adds a ``daily_status_security_pfdenied_enable'' variable to periodic.conf, which defaults to ``YES'' as the matching IPF(W) versions. The output will look like this (line wrapped): pf denied packets: > block drop log on rl0 proto tcp all [ Evaluations: 504986 Packets: 0 Bytes: 0 States: 0 ] > block drop log on rl0 all [ Evaluations: 18559 Packets: 427 Bytes: 140578 States: 0 ] Submitted by: clive (thanks a lot!) MFC after: 2 weeks
* Implement per-jail fstab(5) files. Here's a rc.conf sample usingmux2004-11-231-0/+2
| | | | | | | | | | | | | this feature for a jail named foo : jail_foo_mount_enable="YES" jail_foo_fstab="/etc/fstab.foo" The second line is actually useless, since the code defaults to using "/etc/fstab.$jailname" as the fstab file if none is specified. MFC after: 3 days Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
* Revert the noexec,nosuid,nodev options for md /tmp file systems, sincekeramida2004-11-091-1/+1
| | | | | | the change in the default behavior may break existing, working setups. Requested by: brooks
* Add two new rc.conf options: tmpmfs_flags and varmfs_flags.keramida2004-11-091-0/+2
| | | | | | | | | | | | | | These can be used to pass extra options to the mdmfs(8) utility, to customize the finer details of the md file system creation (i.e. to turn on/off softupdates, to specify a default owner for md filesystem, etc). Use these two new flags to mount tmpmfs and varmfs without softupdates, since it doesn't make much sense to use SU on malloc-backed file systems. Reviewed by: mtm Inspired by: J. D. Bronson, jbronson at wixb dot com
* Someone (sanpei-san?) sent me this entry some time ago. Add COREGAimp2004-11-081-2/+2
| | | | | FEtherII PCC-TXD to the FEther PCC-TXD entry (since they appear to be handled the same).
* Sync up with vinum(8) and rc.d/vinum removal.ru2004-11-041-1/+0
| | | | OK'ed by: phk
OpenPOWER on IntegriCloud