Date: Sun, 23 Oct 2011 13:40:32 +0400 From: Sergey Kandaurov <pluknet@freebsd.org> To: Martin Matuska <mm@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r226654 - in head/etc: defaults rc.d Message-ID: <CAE-mSOKG-PK6x53x_v=JQvg25im5JZ2RFXcFXZZR25u=cpFUwQ@mail.gmail.com> In-Reply-To: <201110230908.p9N98gOH020436@svn.freebsd.org> References: <201110230908.p9N98gOH020436@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23 October 2011 13:08, Martin Matuska <mm@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: > =A0Add etc/rc.d/static_ndp, analogous to etc/rc.d/static_arp. > =A0Make sure that static ARP and NDP bindings are set before NETWORKING. > > =A0As static_ndp is based on static_arp, pass copyright to the project wi= th > =A0permission of the original author (delphij@). > > =A0Reviewed by: =A0delphij@FreeBSD.org > =A0MFC after: =A0 =A03 days What about to reflect this change in man rc.conf? Something like this: Index: share/man/man5/rc.conf.5 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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=3D"gw" static_arp_gw=3D"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=3D"gw" +static_ndp_gw=3D"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: > =A0head/etc/rc.d/static_ndp =A0 (contents, props changed) > Modified: > =A0head/etc/defaults/rc.conf > =A0head/etc/rc.d/Makefile > =A0head/etc/rc.d/NETWORKING [...] --=20 wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOKG-PK6x53x_v=JQvg25im5JZ2RFXcFXZZR25u=cpFUwQ>