Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How do people use npf with dhcpcd?




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



Home | Main Index | Thread Index | Old Index