Looked url, searched 'custom' and 'script' (page and site) with no match that im looking for. All i know now and looking more around; netplan way to use custom script when interface comes up is networkd-dispatcher way, that in Ubuntu 24.04 do not work.
keksi
joined 2 years ago
'journalctl -u networkd-dispatcher' says:
That error comes either I have my script there or not.
I think scripts in '/etc/networkd-dispatcher/routable.d' or '/usr/lib/networkd-dispatcher/routable.d' are not ran because networkd-dispatched do not get interface state.
Based on https://netplan.io/faq > 'Use pre-up, post-up, etc. hook scripts'; routable.d is correct location in my case.