summaryrefslogtreecommitdiffstats
path: root/etc/defaults
Commit message (Collapse)AuthorAgeFilesLines
* MFC 208060:dougb2010-05-141-3/+3
| | | | Remove trailing white space. No functional changes.
* MFC r206427, r206706, r206771:rpaulo2010-04-201-0/+5
| | | | | ubthidhci rc.d script to switch an USB bluetooth dongle from HID to HCI mode.
* MFC r204076,r204077,r204083,r205279:pjd2010-04-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r204076: Please welcome HAST - Highly Avalable Storage. HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV r204077: Remove some lines left over by accident. r204083: Add missing KEYWORD line. Pointed out by: dougb r205279 sys: Simplify loops.
* MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375:ume2010-04-071-8/+12
| | | | | Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6 and rc.d/ip6fw.
* r205509:joerg2010-03-261-1/+1
| | | | | | Add .snap to daily_clean_tmps_ignore; /tmp/.snap ist not supposed to be auto-removed (and /tmp is a filesystem of its own now by default).
* MFC r203433:ume2010-02-271-0/+4
| | | | | | | | | Add rc.d script for the rtsold(8) daemon. The rtsol(8) handles just one RA then exit. So, the OtherConfig flag may not be handled well by rtsol(8) in the environment where there are multiple RA servers on the segment. In such case, rtsold(8) will be your friend.
* MFC: r203676emax2010-02-161-0/+2
| | | | | | | | | Introduce new rc.conf variable firewall_coscripts. It can be used to specify list of executables and/or rc scripts that should be executed after firewall starts/stops. Submitted by: Yuri Kurenkov <y dot kurenkov at init dot ru> Reviewed by: rhodes, rc@
* MFC r201368:dougb2010-01-151-1/+1
| | | | Update named_flags comment regarding not using it for -u and -c
* MFC 201215:jhb2010-01-121-0/+2
| | | | | | | | | | | | Add support for configuring vlan(4) interfaces as child devices similar to wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_<IF>' variable. If a vlan interface is a number, then that number is treated as the vlan tag for the interface and the interface will be named '<IF>.<tag>'. Otherwise, the vlan tag must be provided via a vlan parameter in a 'create_args_<vlan>' variable. While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in the description of cloned_interfaces.
* MFC 201522:jhb2010-01-111-0/+16
| | | | | | Expose the upper 256 ptys in the default devfs rules. I should have updated this when expanding the old pty(4) driver to use 512 ptys by default. This is more important for 7.x.
* MFC revisions 196550 and 196552:delphij2009-12-081-0/+1
| | | | | | | | | | | | | | | | | | Add a new rc.d script, static_arp, which enables the administrator to statically bind IPv4 <-> MAC address at boot time. In order to use this, the administrator needs to configure the following rc.conf(5) variable: - static_arp_pairs: A list of names for static bind pairs, and, - a series of static_arp_(name): the arguments that is being passed to ``arp -S'' operation. Example: static_arp_pairs="gw" static_arp_gw="192.168.1.1 00:01:02:03:04:05" See the rc.conf(5) manual page for more details.
* MFC: r198314brueffer2009-10-291-0/+1
| | | | Add empty watchdogd_flags.
* MFC r197297dougb2009-09-291-0/+1
| | | | | | | | | | | Add a knob to show 'Starting foo:' messages when faststart is used, such as at boot time. MFC 197619 By popular acclaim, enable "Starting foo:" messages by default Approved by: re (bz)
* Remove extra debugging support that is turned on for head but turned offkensmith2009-09-101-1/+1
| | | | | | | | | | | | | | | for stable branches: - shift to MALLOC_PRODUCTION - turn off automatic crash dumps - Remove kernel debuggers, INVARIANTS*[1], WITNESS* from GENERIC kernel config files[2] [1] INVARIANTS* left on for ia64 by request marcel [2] sun4v was left as-is Reviewed by: marcel, kib Approved by: re (implicit)
* rc.d/fsck: allow additional options for fsck_y_enable via fsck_y_flagsavg2009-06-101-0/+1
| | | | | | | | | | Primary intention is to allow to pass -C option to avoid (re-)checking clean filesystems when preening fails and fsck -y kicks in. Submitted by: marck Reviewed by: current@ Approved by: jhb (mentor) MFC after: 1 week
* Add support for the experimental nfs subsystem to the scripts inrmacklem2009-06-021-0/+5
| | | | | | | | | | | | | | /etc/rc.d. They use the following new rc variables: nfsv4_server_enable - set to "YES" to run the experimental server nfsuserd_enable - set to "YES" to run nfsuserd for NFSv4 client and server nfsuserd_flags - command line flags for nfsuserd nfscbd_enable - set to "YES" to run the experimental nfs client's NFSv4 callback daemon nfscbd_flags - command line flags for nfscbd Reviewed by: dougb Approved by: kib (mentor)
* Further idmapd garbage collection -- remove rc.d Makefile reference andrwatson2009-05-221-2/+0
| | | | | | default settings. Submitted by: Pawel Worach <pawel.worach at gmail.com>
* 1. New feature; option to have the script loop until a specified hostnamedougb2009-05-161-0/+5
| | | | | | | | | | | | (localhost by default) can be successfully looked up. Off by default. 2. New feature: option to create a forwarder configuration file based on the contents of /etc/resolv.conf. This allows you to utilize a local resolver for better performance, less network traffic, custom zones, etc. while still relying on the benefits of your local network resolver. Off by default. 3. Add named-checkconf into the startup routine. This will prevent named from trying to start in a situation where it would not be possible to do so.
* Set crashinfo_enable to "YES" by default.rodrigc2009-05-141-1/+1
| | | | | | | | | | | During bootup, if /etc/rc.d/savecore detects a core dump file on the dump device, the core file will be saved, and the crashinfo script will be run to generate a human-readable report. This will make it easier for end-users to provide feedback to developers about kernel crashes. Reviewed by: jhb
* Revert r188010. When dhclient is backgrounded, services such as ntpdate,des2009-03-191-1/+1
| | | | | | | | | | | | sendmail / postfix etc. may fail to start because DNS is unavailable and / or the server is unreachable. In the worst case, the machine may become unusable. Debugging this issue was far more difficult than it should have been, due to earlier changes to the rc framework to hide almost all useful information about the boot process. Approved by: silence
* Add support for setting the debug flags on wlan interfaces after the arebrooks2009-03-131-0/+1
| | | | created using wlandebug_<ifn> variables.
* Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to bettermtm2009-02-171-1/+1
| | | | reflect its purpose.
* Since, rc.d/defaultroute has the ability to wait for amtm2009-02-021-1/+1
| | | | | | default route to show up we can turn this knob back on without screwing subsequent daemons that expect to be able to talk to the outside world.
* Update jail startup script for multi-IPv4/v6/no-IP jails.bz2009-01-261-5/+7
| | | | | | | | | | | | | | | | | | | | | | | Note: this is only really necessary because of the ifconfig logic to add/remove the jail IPs upon start/stop. Consensus among simon and I is that the logic should really be factored out from the startup script and put into a proper management solution. - We now support starting of no-IP jails. - Remove the global jail_<jname>_netmask option as it is only helpful to set netmasks/prefixes for the right address family and per address. - Implement jail_<jname>_ip options to support both address familes with regard to ifconfig logic. - Implement _multi<n> support suffix to the jail_<jname>_ip option to configure additional addresses to avoid overlong, unreadbale jail_<jname>_ip lines with lots of addresses. Submitted by: initial work from Ruben van Staveren Discussed on: freebsd-jail in Nov 2008. Reviewed by: simon, ru (partial, older version) MFC after: 1 week
* The description of the various securelevels has moved to thekeramida2009-01-081-1/+1
| | | | | | security.7 manpage a while ago. MFC after: 1 week
* Put the devfs ruleset next to devfs enable, add a comment aboutbz2009-01-061-2/+3
| | | | | | | | | | the suggested ruleset[1]. While here use an IP from the 'test-net' prefix for docs. PR: kern/130102 ([1] different problem in the end) Reviewed by: simon MFC after: 2 weeks
* Add defaults for /etc/rc.d/gssdkeramida2008-11-051-0/+3
| | | | Approved by: dfr
* Allow a jail to be started with a specific route fib.thompsa2008-09-161-0/+1
| | | | | Reviewed by: secteam (simon) Reviewed by: brooks, bz
* Add the ability to run /usr/sbin/crashinfo on a new core dump automaticallyjhb2008-08-291-0/+2
| | | | | | | during boot. Right now this is disabled by default, but it can be enabled by setting 'crashinfo_enable=YES' in rc.conf. MFC after: 2 weeks
* Make obrien happy #2des2008-08-251-1/+0
|
* Integrate the new MPSAFE TTY layer to the FreeBSD operating system.ed2008-08-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last half year I've been working on a replacement TTY layer for the FreeBSD kernel. The new TTY layer was designed to improve the following: - Improved driver model: The old TTY layer has a driver model that is not abstract enough to make it friendly to use. A good example is the output path, where the device drivers directly access the output buffers. This means that an in-kernel PPP implementation must always convert network buffers into TTY buffers. If a PPP implementation would be built on top of the new TTY layer (still needs a hooks layer, though), it would allow the PPP implementation to directly hand the data to the TTY driver. - Improved hotplugging: With the old TTY layer, it isn't entirely safe to destroy TTY's from the system. This implementation has a two-step destructing design, where the driver first abandons the TTY. After all threads have left the TTY, the TTY layer calls a routine in the driver, which can be used to free resources (unit numbers, etc). The pts(4) driver also implements this feature, which means posix_openpt() will now return PTY's that are created on the fly. - Improved performance: One of the major improvements is the per-TTY mutex, which is expected to improve scalability when compared to the old Giant locking. Another change is the unbuffered copying to userspace, which is both used on TTY device nodes and PTY masters. Upgrading should be quite straightforward. Unlike previous versions, existing kernel configuration files do not need to be changed, except when they reference device drivers that are listed in UPDATING. Obtained from: //depot/projects/mpsafetty/... Approved by: philip (ex-mentor) Discussed: on the lists, at BSDCan, at the DevSummit Sponsored by: Snow B.V., the Netherlands dcons(4) fixed by: kan
* Rename the RCng 'kernel' script to 'kernel_symlink'.obrien2008-08-191-2/+1
| | | | Requested by: many
* Allow the network addresses and interface names for the "client" andjhb2008-08-151-0/+9
| | | | | | | | | | | | "workstation" firewall types to be set from rc.conf so that rc.firewall no longer needs local patching to be usable for those types. For now I've set the variables in /etc/defaults/rc.conf to the previous defaults in /etc/rc.firewall. PR: bin/65258 Submitted by: Valentin Nechayev netch of netch.kiev.ua Silence from: net MFC after: 2 weeks
* For the firewall_* variables that are specific to the "workstation"jhb2008-08-151-7/+9
| | | | | | firewall type, note that property in their description. MFC after: 1 week
* Only symlink booted kernel directory to /boot/kernel if user has explicitlyobrien2008-08-091-0/+1
| | | | requested it. This is too dangerous to just do behind the admin's back.
* Add the -c option for named_flags (still commented out) that isdougb2008-08-011-2/+2
| | | | | | relevant for ports users, and change the comment to match. While I'm here fix the capitalization of the named_program comment.
* Make quota knob conform to other rc(8) knobs. Keep older knob formtm2008-06-191-1/+1
| | | | | | compatibility. Requested by: Volker <volker@vwsoft.com>
* Bluetooth SIG is being difficult and keep moving specificationemax2008-05-271-3/+2
| | | | | | | | documents away from being public accessible. Replace link to the Bluetooth specification document with the document name. Pointed out by: SoftLover < slserg at uic dot tula dot ru > MFC after: 3 days
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-261-11/+2
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* Change the default value of synchronous_dhclient to NO.brooks2008-05-151-1/+2
| | | | | | | | | To preserve the existing behavior of etc/rc.d/netif, add code to wait up to if_up_delay seconds (30 seconds by default) for a default route to be configured if there are any dhcp interfaces. This should be extended to test that the interface is actually up. X-MFC after:
* Replace a couple mentions of the soon to be removed vaps_<ifn>brooks2008-05-031-1/+1
| | | | variable form with wlans_<ifn>.
* Revert rev 1.332 and keep ddb scripts off by default for now. Minidumpsbrooks2008-04-231-1/+1
| | | | | are more flexable and much text-dump like output can be produced from them so there's a good argument they are a better default.
* Change the default of ddb_enable to YES so we default to generating textdumpsbrooks2008-04-211-1/+1
| | | | | | | on panic. This means you get a potentially useful dump even if your system is running X when you panic. X-MFC after: never
* rc support for vapssam2008-04-201-0/+1
|
* Set defaults for the rfcomm_pppd_server rc scriptemax2008-04-081-0/+13
| | | | MFC after: 1 week
* o add rc.conf knobs to set the wpa_supplicant program, logging flags,sam2008-04-081-0/+4
| | | | | | | | | and config file o change default logging options from -q to -s (log to syslog); this is currently broken for boot-time startup as syslogd is started too late but that'll be dealt with separately MFC after: 2 weeks
* The rarpd(8) daemon must be instructed to start on all interfaces or amtm2008-03-061-1/+1
| | | | | | | | | specific one. Instruct it to listen on all interfaces so that enabling it in rc.conf(5) works "out of the box." PR: conf/121406 Submited by: trasz MFC after: 1 week
* Use the new command file feature of ddb(8) to support setting ddb(4)brooks2008-03-051-0/+2
| | | | | | | | | scripts at boot. This is currently disabled by default. /etc/ddb.conf contains some potentially reasonable default scripts. PR: conf/119995 Submitted by: Scot Hetzel <swhetzel at gmail dot com> (Earlier version) X-MFC after: textdumps
* Add a dummynet_enable knob to go with firewall_enable. If this knobmtm2008-01-271-0/+1
| | | | | | | | is enabled dummynet(4) is added to the list of required modules. Discussed on: #freebsd-bugbusters (rwatson, trhodes) PR: conf/79196 MFC after: 1 week
* Clarify that devfs_system_ruleset should contain a name, not a number.mtm2008-01-271-1/+1
| | | | | | Prompted by PR conf/85363 MFC after: 3 days
OpenPOWER on IntegriCloud