Re: How to run script on network address change?

From: Rozhuk Ivan <>
Date: Tue, 22 Jun 2021 16:04:16 UTC
On Tue, 22 Jun 2021 09:52:18 -0600
Warner Losh <> 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" -> "!system=IFNET subsystem=lan0 type=ADDR_ADD address="