| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: rc.conf.5,v 1.166.6.1 2019/05/14 11:33:43 martin Exp $ | | 1 | .\" $NetBSD: rc.conf.5,v 1.166.6.2 2020/04/23 13:43:42 martin Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1996 Matthew R. Green | | 3 | .\" Copyright (c) 1996 Matthew R. Green |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
| @@ -45,27 +45,27 @@ | | | @@ -45,27 +45,27 @@ |
45 | .\" | | 45 | .\" |
46 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | | 46 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
47 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | | 47 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
48 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 48 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
49 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | | 49 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
50 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | | 50 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
51 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | | 51 | .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
52 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED | | 52 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
53 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | | 53 | .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
54 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 54 | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
55 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 55 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
56 | .\" SUCH DAMAGE. | | 56 | .\" SUCH DAMAGE. |
57 | .\" | | 57 | .\" |
58 | .Dd May 14, 2019 | | 58 | .Dd April 23, 2020 |
59 | .Dt RC.CONF 5 | | 59 | .Dt RC.CONF 5 |
60 | .Os | | 60 | .Os |
61 | .Sh NAME | | 61 | .Sh NAME |
62 | .Nm rc.conf | | 62 | .Nm rc.conf |
63 | .Nd system startup configuration file | | 63 | .Nd system startup configuration file |
64 | .Sh DESCRIPTION | | 64 | .Sh DESCRIPTION |
65 | The | | 65 | The |
66 | .Nm | | 66 | .Nm |
67 | file specifies which services are enabled during system startup by | | 67 | file specifies which services are enabled during system startup by |
68 | the startup scripts invoked by | | 68 | the startup scripts invoked by |
69 | .Pa /etc/rc | | 69 | .Pa /etc/rc |
70 | (see | | 70 | (see |
71 | .Xr rc 8 ) , | | 71 | .Xr rc 8 ) , |
| @@ -239,26 +239,50 @@ If empty or not set, then the contents o | | | @@ -239,26 +239,50 @@ If empty or not set, then the contents o |
239 | .Pa /etc/mygate6 | | 239 | .Pa /etc/mygate6 |
240 | (if it exists) are used. | | 240 | (if it exists) are used. |
241 | .It Sy domainname | | 241 | .It Sy domainname |
242 | A string. | | 242 | A string. |
243 | .Tn NIS | | 243 | .Tn NIS |
244 | (YP) domain of host. | | 244 | (YP) domain of host. |
245 | If empty or not set, then the contents of | | 245 | If empty or not set, then the contents of |
246 | .Pa /etc/defaultdomain | | 246 | .Pa /etc/defaultdomain |
247 | (if it exists) are used. | | 247 | (if it exists) are used. |
248 | .It Sy force_down_interfaces | | 248 | .It Sy force_down_interfaces |
249 | A space separated list of interface names. | | 249 | A space separated list of interface names. |
250 | These interfaces will be configured down when going from multiuser to single-user | | 250 | These interfaces will be configured down when going from multiuser to single-user |
251 | mode or on system shutdown. | | 251 | mode or on system shutdown. |
| | | 252 | .It Sy dns_domain |
| | | 253 | A string. |
| | | 254 | Sets domain in |
| | | 255 | .Pa /etc/resolv.conf . |
| | | 256 | .It Sy dns_search |
| | | 257 | A string. |
| | | 258 | Sets search in |
| | | 259 | .Pa /etc/resolv.conf . |
| | | 260 | .It Sy dns_nameservers |
| | | 261 | A string of space seperated domain name servers. |
| | | 262 | Sets nameserver for each value in |
| | | 263 | .Pa /etc/resolv.conf . |
| | | 264 | .It Sy dns_sortlist |
| | | 265 | A string. |
| | | 266 | Sets sortlist in |
| | | 267 | .Pa /etc/resolv.conf . |
| | | 268 | .It Sy dns_options |
| | | 269 | A string. |
| | | 270 | Sets options in |
| | | 271 | .Pa /etc/resolv.conf . |
| | | 272 | .It Sy dns_metric |
| | | 273 | An unsigned integer. |
| | | 274 | Sets the priority of the above DNS to other sources, lowest wins. |
| | | 275 | Defaults to 0. |
252 | .Pp | | 276 | .Pp |
253 | This is important for some stateful interfaces, for example PPP over ISDN | | 277 | This is important for some stateful interfaces, for example PPP over ISDN |
254 | connections that cost money by connection time or PPPoE interfaces which | | 278 | connections that cost money by connection time or PPPoE interfaces which |
255 | have no direct means of noticing | | 279 | have no direct means of noticing |
256 | .Dq disconnect | | 280 | .Dq disconnect |
257 | events. | | 281 | events. |
258 | .Pp | | 282 | .Pp |
259 | All active | | 283 | All active |
260 | .Xr pppoe 4 | | 284 | .Xr pppoe 4 |
261 | and | | 285 | and |
262 | .Xr ippp 4 | | 286 | .Xr ippp 4 |
263 | interfaces will be automatically added to this list. | | 287 | interfaces will be automatically added to this list. |
264 | .It Sy hostname | | 288 | .It Sy hostname |