Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2021 19:04:16 +0300
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        Warner Losh <wlosh@bsdimp.com>
Cc:        "dmilith ." <dmilith@gmail.com>, freebsd-net@freebsd.org, "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org>
Subject:   Re: How to run script on network address change?
Message-ID:  <20210622190416.039d87c4@rimwks.local>
In-Reply-To: <E4DBE592-CA29-4047-A6CF-A81D1B777FF3@bsdimp.com>
References:  <20210620165215.0f3dd15c@rimwks.local> <CAJQ5JngsD4VTkoPQW4xE%2BfLOAA4L-JBeYcHeaFSs4LNzQNL6Ag@mail.gmail.com> <20210620193744.39eae64f@rimwks.local> <E4DBE592-CA29-4047-A6CF-A81D1B777FF3@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 22 Jun 2021 09:52:18 -0600
Warner Losh <wlosh@bsdimp.com> wrote:

> These two patches appear to be good (I’ll need to do a little testing)
> 
> But, can you update devd.conf(5) man page to include these new events
> in the IFNET section? If so, I’ll land this in the tree...
> 

This is updated version, they add param name for last arg, so:
"!system=IFNET subsystem=lan0 type=RENAME lan1" -> "!system=IFNET subsystem=lan0 type=RENAME name=lan1"
"!system=IFNET subsystem=lan0 type=ADDR_ADD 192.168.1.1" -> "!system=IFNET subsystem=lan0 type=ADDR_ADD address=192.168.1.1"

https://reviews.freebsd.org/D30839
https://reviews.freebsd.org/D30840


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210622190416.039d87c4>