Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
/etc/network/if-pre-up.d and if-post-down.d command not executed after upgrade to Ubuntu 20.04
I just upgraded a droplet from Ubuntu 18.04 to 20.04 via do-release-upgrade.
I have commands /etc/network/if-pre-up.d/iptablesload and /etc/network/if-post-down.d/iptablessave which are intended to save and restore iptables over a reboot. These worked fine on Ubuntu 18.04 and still work fine if run manually, but they don’t run automatically on reboot. I don’t know if any other if-down.d/, if-post-down.d/, if-pre-up.d/ or if-up.d/ commands are run. They may or may not not be.
I expect something is missing as I have no man pages for ‘interfaces’, 'ifup’ or 'ifdown’ either.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×