[Solved] Scripts in hotplug.d/net not firing

No. Scripts in /etc/hotplug.d/net respond only to Triggered Network-related events, while scripts in /etc/hotplug.d/iface respond only to Triggered Interface events: LAN/WAN/etc. is connected/disconnected.

So, /etc/hotplug.d/iface is the correct place for your script.

Scripts in /etc/hotplug.d/iface will all run based on their alphabetic order (thus the numeric prefix used on hotplug scripts) when the trigger event fires. This is true of all the `/etc/hotplug.d/*’ directories whenever their particular trigger events fire.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

2 Likes