On Sat, Jul 15, 2023 at 09:00:03PM +0300, Mantas Mikulėnas wrote:
> Is that "once per boot", "once per interface appearance", or "once per
> physical NIC lifetime"? Can the command check its effects directly (i.e.
> check whether a setting has been set, or whatever the task is)?
Once per virtual N
Is that "once per boot", "once per interface appearance", or "once per
physical NIC lifetime"? Can the command check its effects directly (i.e.
check whether a setting has been set, or whatever the task is)?
If it's once per boot, a flag file in /run/thing_done.$ifname would be a
common solution..
What is the appropriate solution for running a non-idempotent command
from udev? One command needs to be run exactly once when a network
interface appears, and another command needs to be run exactly once when
a network interface disappears. Both commands need to run after
network-pre.target, but