CentOS 7 Run Script When Network Interface is Up (Network Manager)

CentOS 7 Run Script When Network Interface is Up (Network Manager)

I want to run a shell script or other program immediately after my network interface goes up on a CentOS 7 / RHEL 7 server. I created /sbin/ifup-local, but it is not working on a CentOS 7 box but works perfectly on CentOS 6. I am using NetworkManager with CentOS 7. How do I run ifup-post or ifup-pre scripts?

The post CentOS 7 Run Script When Network Interface is Up (Network Manager) appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Leave a Reply

Your email address will not be published. Required fields are marked *