I managed to figure this out for debian Bookworm. You need to place scripts in the /etc/network/if-*.d/ directories. NetworkManager will run any scripts in these directories. As your post was 5 months ago, I may be late to the party. This might have been addressed by another post.
Let me know if you are still interested in a solution.
Let me know if you are still interested in a solution.
Statistics: Posted by kmacdchap — Thu Sep 05, 2024 12:50 pm