On Fri, Jul 14, 2017 at 07:42:53PM -0000, Christian Weisgerber wrote:
> On 2017-07-14, Florian Obser <flor...@openbsd.org> wrote:
> 
> > --- etc/rc
> > +++ etc/rc
> > @@ -47,6 +47,14 @@ update_limit() {
> >     done
> >  }
> >  
> > +# Apply soii.key settings.
> > +soii_key() {
> > +   stripcom /etc/soii.key |
> > +   while read _line; do
> > +           sysctl -q "net.inet6.ip6.soiikey=$_line"
> > +   done
> > +}
> 
> I think this should move into netstart.
> Currently, I can boot a machine into single-user mode and run
> netstart <if> to configure an interface.  With the changes here, I
> need to remember to manually load the soiikey first, otherwise I
> end up with a different v6 address.
> 
> Also, since we agreed that it's just an opaque blob, we don't need to
> treat it like a configuration file.
> 
>     sysctl -q "net.inet6.ip6.soiikey=$(</etc/soii.key)"
> 
> -- 
> Christian "naddy" Weisgerber                          na...@mips.inka.de
> 

yes, thanks

-- 
I'm not entirely sure you are real.

Reply via email to