diff options
author | hrs <hrs@FreeBSD.org> | 2013-08-04 06:36:17 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-08-04 06:36:17 +0000 |
commit | cbd7fe2b24d8f0b3ad6d6dad1cc3804f62921b2d (patch) | |
tree | 07266355296bd073167a453ee9122fcbdb3b66b1 /share/man | |
parent | cba68a402e4f2518214d96fae5bf02c5bd9ca924 (diff) | |
download | FreeBSD-src-cbd7fe2b24d8f0b3ad6d6dad1cc3804f62921b2d.zip FreeBSD-src-cbd7fe2b24d8f0b3ad6d6dad1cc3804f62921b2d.tar.gz |
- Reimplement $gif_interfaces as a variant of $cloned_interfaces.
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.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man5/rc.conf.5 | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 967edaa..3312c6f 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 12, 2013 +.Dd July 22, 2013 .Dt RC.CONF 5 .Os .Sh NAME @@ -1651,11 +1651,33 @@ Further cloning arguments may be passed to the command for each interface by setting the .Va create_args_ Ns Aq Ar interface variable. +If an interface name is specified with +.Dq :sticky +keyword, +the interface will not be destroyed even when +.Pa rc.d/netif +script is invoked with +.Dq stop +argument. +This is useful when reconfiguring the interface without destroying it. Entries in .Va cloned_interfaces are automatically appended to .Va network_interfaces for configuration. +.It Va cloned_interfaces_sticky +.Pq Vt bool +This variable is to globally enable functionality of +.Dq :sticky +keyword in +.Va cloned_interfaces +for all interfaces. +The default value is +.Dq NO . +Even if this variable is specified to +.Dq YES , +.Dq :nosticky +keyword can be used to override it on per interface basis. .It Va fec_interfaces .Pq Vt str Set to the list of @@ -1685,6 +1707,8 @@ ifconfig_fec0="DHCP" .Ed .It Va gif_interfaces .Pq Vt str +This variable is deprecated in favor of +.Va cloned_interfaces . Set to the list of .Xr gif 4 tunnel interfaces to configure on this host. |