svn commit: r226654 - in head/etc: defaults rc.d
Sergey Kandaurov
pluknet at freebsd.org
Sun Oct 23 09:40:33 UTC 2011
On 23 October 2011 13:08, Martin Matuska <mm at freebsd.org> wrote:
> Author: mm
> Date: Sun Oct 23 09:08:42 2011
> New Revision: 226654
> URL: http://svn.freebsd.org/changeset/base/226654
>
> Log:
> Add etc/rc.d/static_ndp, analogous to etc/rc.d/static_arp.
> Make sure that static ARP and NDP bindings are set before NETWORKING.
>
> As static_ndp is based on static_arp, pass copyright to the project with
> permission of the original author (delphij@).
>
> Reviewed by: delphij at FreeBSD.org
> MFC after: 3 days
What about to reflect this change in man rc.conf?
Something like this:
Index: share/man/man5/rc.conf.5
===================================================================
--- share/man/man5/rc.conf.5 (revision 225671)
+++ share/man/man5/rc.conf.5 (working copy)
@@ -2568,6 +2582,22 @@ For example
static_arp_pairs="gw"
static_arp_gw="192.168.1.1 00:01:02:03:04:05"
.Ed
+.It Va static_ndp_pairs
+.Pq Vt str
+Set to the list of static NDP pairs that are to be added at system
+boot time.
+For each whitespace separated
+.Ar element
+in the value, a
+.Va static_ndp_ Ns Aq Ar element
+variable is assumed to exist whose contents will later be passed to a
+.Dq Nm ndp Cm -s
+operation.
+For example
+.Bd -literal
+static_ndp_pairs="gw"
+static_ndp_gw="2001:DB8::1 00:01:02:03:04:05"
+.Ed
.It Va static_routes
.Pq Vt str
Set to the list of static routes that are to be added at system
>
> Added:
> head/etc/rc.d/static_ndp (contents, props changed)
> Modified:
> head/etc/defaults/rc.conf
> head/etc/rc.d/Makefile
> head/etc/rc.d/NETWORKING
[...]
--
wbr,
pluknet
More information about the svn-src-head
mailing list