Re: How do people use npf with dhcpcd?

Lloyd Parkes <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On 27/12/2025 12:30, David Brownlee wrote:
> and calling /etc/rc.d/npf reload in dhcpcd.exit-hooks, but this
> seems... inelegant
>
> Am I missing something obvious?

I feel stupid now. I saw this yesterday and I didn't put two and two 
together.

ifwatchd(8) looks for IP addresses being added and removed from 
interfaces and then runs scripts that you specify. I probably should be 
using it for my pppoe0 and you could use it for your rge0.

Ngā-mihi,
Lloyd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.