Run script when eth0 UP
<p>I need to run a script after the start <strong>eth0</strong> interface in Centos 6.8</p>

<p>When I do it with <strong>ppp0</strong> I put scripts here: <code>/etc/ppp/ip-up.local</code> and it works. 
How to do the same with <strong>eth0</strong>?</p>

<p>I tried to put scripts in difference files, checking permissions, but does not work. </p>

<p>Files that I tried to put scripts:</p>

<pre><code>**/etc/sysconfig/network-scripts/ip-up.local
/etc/sysconfig/network-scripts/ifup-local
/sbin/ifup-pre-local
/sbin/ifup-local
/sbin/ip-up.local**
</code></pre>