summaryrefslogtreecommitdiffstats
path: root/share/man/man5/rc.conf.5
Commit message (Collapse)AuthorAgeFilesLines
* MFC r289060:trasz2016-01-111-1/+77
| | | | | | Document iSCSI and autofs(5) variables in rc.conf(5). Sponsored by: The FreeBSD Foundation
* MFC: 258080jpaetzel2014-11-091-0/+40
| | | | | | | | Add support for multiple instances of ftp-proxy and pflog devices. PR: conf/158171 Submitted by: Thomas Johnson <tom@claimlynx.com>
* MFC r272579:bdrewery2014-10-061-1/+1
| | | | Bump .Dd missed in r271424
* MFC r271424:bdrewery2014-10-051-0/+13
| | | | | | | | - Add $netif_ipexpand_max to specify the upper limit for the number of addresses generated by an address range specification. The default value is 2048. This can be increased by setting $netif_ipexpand_max in rc.conf. PR: 186841
* MFH (r270392, r270676, r270679, r270698): add support for subdirectories in ↵des2014-09-081-2/+21
| | | | | | rc.conf.d Approved by: re (glebius)
* MFC r270647: Add references to vt(4) and the configuration files in /usr/shase2014-09-041-5/+21
| | | | | | | | | | | | | | | | | | | | | | MFC r270653: Update man-pages to correctly refer to changed pathes and namin MFC r270657: More man pages that need to know about vt in addition to syscon MFC r270659: (by pluknet@) Missed comma. MFC r270660: Back-out the references to vt(4) from this man-page. It appears MFC r270933: Add references to vt(4) to further man-pages. MFC r270934: Final patches to the tools used to convert syscons keymaps for MFC r270935: Add vt(4) support to the console initialisation script, specifi Second batch of MFCs to add support for Unicode keymaps for use with vt(4). It contains the following changes: - Add references to vt(4) to relevant man-pages. - Update comment in defaults/rc.conf to mention vt - Update rc.d/syscons to warn about syscons keymaps used under vt. An attempt is made to identify the vt keymap to load instead. - Minor changes to the conversion tool based on mail comments on keymaps. Relnotes: yes
* MFC r261832-261834:zeising2014-03-061-0/+1
| | | | | | | | | | | | r261832: Add cross references between rc.conf(5) and jail.conf(5). r261833: Add commas (,) to the list in the SEE ALSO section, to match most other manuals. r261834: Bump .Dd forgotten in r261832.
* MFC r261931,r261932:bdrewery2014-02-231-1/+21
| | | | | | Allow overriding rctl.conf(5) file location for /etc/rc.d/rctl Approved by: bapt (mentor, implicit)
* MFC r259879: Clean up manual pages after BIND removal.pluknet2013-12-301-81/+1
|
* MFC r256775,r256776:cperciva2013-10-221-1/+18
| | | | | | | | | | Add support for "first boot" rc.d scripts. Document this new functionality in rc.conf(5) and rc(8). Bump __FreeBSD_version so that ports can make use of this. Approved by: re (gjb)
* MFC 256385:hrs2013-10-121-4/+5
| | | | | | | | | | | - Add mount.fdescfs parameter to jail(8). This is similar to mount.devfs but mounts fdescfs. The mount happens just after mount.devfs. - rc.d/jail now displays whole error message from jail(8) when a jail fails to start. Approved by: re (gjb)
* - Update rc.d/jail to use a jail(8) configuration file instead ofhrs2013-10-101-351/+127
| | | | | | | | | | | | command line options. The "jail_<jname>_*" rc.conf(5) variables for per-jail configuration are automatically converted to /var/run/jail.<jname>.conf before the jail(8) utility is invoked. This is transparently backward compatible. - Fix a minor bug in jail(8) which prevented it from returning false when jail -r failed. Approved by: re (glebius)
* Add a setup script for unbound(8) called local-unbound-setup. Itdes2013-09-231-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | generates a configuration suitable for running unbound as a caching forwarding resolver, and configures resolvconf(8) to update unbound's list of forwarders in addition to /etc/resolv.conf. The initial list is taken from the existing resolv.conf, which is rewritten to point to localhost. Alternatively, a list of forwarders can be provided on the command line. To assist this script, add an rc.subr command called "enabled" which does nothing except return 0 if the service is enabled and 1 if it is not, without going through the usual checks. We should consider doing the same for "status", which is currently pointless. Add an rc script for unbound, called local_unbound. If there is no configuration file, the rc script runs local-unbound-setup to generate one. Note that these scripts place the unbound configuration files in /var/unbound rather than /etc/unbound. This is necessary so that unbound can reload its configuration while chrooted. We should probably provide symlinks in /etc. Approved by: re (blanket)
* Remove description "ifconfig_IF_aliasN is deprecated". While thishrs2013-09-171-5/+3
| | | | | | | sentence was added in 2005, many users still need it. Approved by: re (gjb) PR: docs/162354
* - Reimplement $gif_interfaces as a variant of $cloned_interfaces.hrs2013-08-041-1/+25
| | | | | | | | | | | | | | | | | | Newly-configured systems should use $cloned_interfaces. - Call clone_{up,down}() and ifnet_rename() in rc.d/netif {start,stop}. ifnet_rename() now accepts an interface name list as its argument. - Add rc.d/netif clear. The "clear" subcommand is basically equivalent to "stop" but it does not call clone_down(). - Add "ifname:sticky" keyword into $cloned_interfaces. If :sticky is specified, the interface will not be destroyed in rc.d/netif stop. - Add cloned_interfaces_sticky={YES,NO}. This variable globally sets :sticky keyword above for all interfaces. The default value is NO. When cloned_interfaces_sticky=YES, :nosticky keyword can be used to override it on per interface basis.
* Document that a literal jail name of 0 (zero) is not allowed.gjb2013-07-121-1/+6
| | | | | | | PR: 174436 Submitted by: Robert Schulze Reviewed by: mjg MFC after: 3 days
* Remove $swapfile and $geli_swap_flags.hrs2013-07-091-13/+1
|
* Revert previous revision, local change that accidentally snuck in.zeising2013-07-031-34/+0
|
* Regenerate after r252561zeising2013-07-031-0/+34
| | | | | PR: docs/180025 Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
* Document ifconfig_wlanX="HOSTAP"rpaulo2013-06-261-2/+13
|
* - Add CIDR notation support like 192.168.1-2.10-16/24 to $ifconfig_IF_aliasN.hrs2013-06-201-26/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an extended version of ipv4_addr_IF which supports both IPv4 and IPv6, and multiple range specifications. To avoid to generate too many addresses, the maximum number of the generated addresses is currently limited to 31. - Add $ifconfig_IF_aliases, which accepts multiple IP aliases in a variable. - ipv6_prefix_IF now supports !/64 prefix length. In addition to the old 64-bit format (2001:db8:1:1), a full 128-bit format like 2001:db8:1:1::/64 is supported. - Replace ifconfig command with $IFCONFIG_CMD variable to support a dry-run mode in the future. - Remove IP aliases before removing all of IPv4 addresses when doing "rc.d/netif down". - Add a DAD wait to network6_getladdr() because it is possible to fail to configure an EUI64 address when ipv6_prefix_IF is specified. A summary of the supported ifconfig_* variables is as follows: # IPv4 configuration. ifconfig_em0="inet 192.168.0.1" # IPv6 configuration. ifconfig_em0_ipv6="inet6 2001:db8::1/64" # IPv4 address range spec. Now deprecated. ipv4_addr_em0="10.2.1.1-10" # IPv6 alias. ifconfig_em0_alias0="inet6 2001:db8:5::1 prefixlen 70" # IPv4 alias. ifconfig_em0_alias1="inet 10.2.2.1/24" # IPv4 alias with range spec w/o AF keyword (backward compat). ifconfig_em0_alias2="10.3.1.1-10/32" # IPv6 alias with range spec. ifconfig_em0_alias3="inet6 2001:db8:20-2f::1/64" # ifconfig_IF_aliases is just like ifconfig_IF_aliasN. ifconfig_em0_aliases="inet 10.3.3.201-204/24 inet6 2001:db8:210-213::1/64 inet 10.1.1.1/24" # IPv6 alias (backward compat) ipv6_ifconfig_em0_alias0="inet6 2001:db8:f::1/64" # IPv6 alias w/o AF keyword (backward compat) ipv6_ifconfig_em0_alias1="2001:db8:f:1::1/64" # IPv6 prefix. ipv6_prefix_em0="2001:db8::/64" Tested by: Kimmo Paasiala
* Add :ifname modifier to specify interface-specific routes intohrs2013-06-091-2/+10
| | | | | | | | | | | | | | | | | {,ipv6_}static_routes and rc.d/routing. For example: static_routes="foo bar:em0" route_foo="-net 10.0.0.0/24 -gateway 192.168.2.1" route_bar="-net 192.168.1.0/24 -gateway 192.168.0.2" At boot time, all of the static routes are installed as before. The differences are: - "/etc/rc.d/netif start/stop <if>" now configures static routes with :<if> if any. - "/etc/rc.d/routing start/stop <af> <if>" works as well. <af> cannot be omitted when <if> is specified, but a keyword "any" or "all" can be used for <af> and <if>.
* Remove EOL whitespace.joel2013-04-181-2/+2
|
* Document jail_<jname>_parameters option.jlh2013-04-171-0/+36
| | | | | | | | The description explains why we should not configure "path", "host.hostname", "command", "ip4.addr" and ip6.addr" parameters with this, but rather use the historical rc.conf(5) options. MFC after: 3 days
* Remove obsolete references to sysinstall.eadler2013-04-021-6/+1
| | | | | | | | This change is not intended for MFC. PR: docs/177570 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> (partial) Approved by: bcr (mentor)
* A number of places in the source tree still reference cuad.* aftereadler2012-12-081-1/+1
| | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
* Add setfib(1) support for services as <name>_fib in rc.conf.hrs2012-10-271-1/+6
|
* Minor mdoc fix.joel2012-09-131-4/+4
|
* Document the *_chroot, *_user, *_group and *_nice knobs for services startedivoras2012-09-131-0/+16
| | | | | | by rcng. Reviewed by: wblock, dougb
* Revert r239049:eadler2012-09-081-1/+1
| | | | | | | | This is the way to assign a range, but not a single IPv4 address. PR: conf/167648 Approved by: cperciva (implicit)
* Use new method of assigning IPv4 addresseseadler2012-08-051-1/+1
| | | | | | | PR: conf/167648 Submitted by: Jeff Kletsky <freebsd@wagsky.com> Approved by: bcr MFC after: 3 days
* Document the following in rc.conf.5:gjb2012-07-221-1/+29
| | | | | | | | - rtsold_enable - rtsold_flags - rtsol_flags MFC after: 1 week
* Make ipfw0 logging pseudo-interface clonable. It can be created automaticallyhrs2012-07-091-1/+11
| | | | | | | by $firewall_logif rc.conf(5) variable at boot time or manually by ifconfig(8) after a boot. Discussed on: freebsd-ipfw@
* Fix style nit: don't use leading zero for dates in .Ddeadler2012-06-051-1/+1
| | | | | | Prompted by: brueffer Approved by: brueffer MFC after: 3 days
* General mdoc(7) and typo fixes.gjb2012-05-121-5/+6
| | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* - Bump the manpage date after kfd addition.stas2012-05-071-1/+1
| | | | Reported by: gjb
* - Document kfd(8) rc.conf variables in the manpage.stas2012-05-061-0/+13
|
* Fix a few rendering nits in rc.conf(5) with regards to mentioninggjb2012-02-281-4/+4
| | | | jail_parallel_enable.
* Whitespace cleanup:gjb2012-02-251-6/+10
| | | | | | | | | o Wrap sentences on to new lines o Cleanup trailing whitespace Found with: textproc/igor MFC after: 1 week X-MFC-With: r232157
* Fix various typos in manual pages.gjb2012-02-251-2/+2
| | | | | | Submitted by: amdmi3 PR: 165431 MFC after: 1 week
* Fix various issues with the NFS and RPC related scripts:dougb2012-02-141-1/+14
| | | | | | | | | | | | | | | | | | | 1. Add new functionality to the force_depend method to incorporate the tests for whether the service is enabled and/or already running. 2. Add a new option to bypass checking only that the service is enabled at boot time, and always check if it is running. 3. Use this new functionality to greatly simplify the rc.d scripts that use force_depend. 4. Add a force_depend for statd in lockd 5. Remove the check that either nfs_server or nfs_client is _enable'd from statd and lockd. This was always overkill, and prevented using the {one|force}start options, as well as stop'ing on the command line. 6. The yp* scripts had some of their arguments in various weird orders. Bring them into line with the model. 7. If mountd fails to create /var/db/mountdtab, err out. Ideas, suggestions, and/or review from delphij and jilles. Pointy hats are completely my responsibility however.
* As it stands right now, the default devfs rulesets are only loaded as adougb2012-02-081-1/+21
| | | | | | | | | side effect of something else using them. If they haven't been loaded already but you want to use them, say for configuring a jail, you're out of luck. So add a knob to always load the default rulesets. While I'm here document the other devfs_ knobs in rc.conf.5.
* The "inet" keyword in the "ifconfig_IF_aliasN" is mandatory forru2011-12-131-3/+7
| | | | | | IPv4 aliases to work since network.subr@197139. MFC after: 3 days
* Add information about static_ndp_pairs to rc.conf(5) manual pagemm2011-10-231-0/+16
| | | | | Submitted by: Sergey Kandaurov <pluknet@FreeBSD.org> MFC after: 3 days
* Fix typos.hrs2011-10-231-1/+1
|
* - Add description that IPv6 configuration will be ignored if $ifconfig_IF_ipv6hrs2011-10-231-8/+37
| | | | | | | is empty. - Move a configuration example "inet6 accept_rtadv" to just after the manual GUA configuration. - Add an example of $ipv6_prefix_IF.
* - Document $ipv6_cpe_wanif.hrs2011-09-191-26/+116
| | | | | | | | | - Emphasize $ipv6_enable and $ipv6_prefer are deprecated. - Add more detail descriptions about $ipv6_activate_all_interfaces. - Add some more examples of $ifconfig_IF_ipv6. - rtsold(8) and rtadvd(8) can be used even when ipv6_gateway_enable=NO now. Approved by: re (kib)
* Correct the RFC number for the description of IPv6 privacy addressingdougb2011-09-151-1/+1
| | | | | Reviewed by: bz Approved by: re (kib)
* Add the netwait rc.d script. It waits for the specified period for thedougb2011-06-191-1/+57
| | | | | | | network to become active. PR: conf/151063 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
* Add rc.d/kld to load kernel modules after local disks are up.dougb2011-06-181-1/+9
| | | | This method is many times faster than doing it in /boot/loader.conf.
OpenPOWER on IntegriCloud