I want to run a script immediately after and interface comes up. However
ifup-local does not appear to be running on bootup it only runs if I do a
"service network restart"
Does anyon have any ideas or pointers?
[root@epsilon network-scripts]# ls -la /sbin/ifup-local
-rwxr-xr-x 1 root root 240 Oct 31 22:48 /sbin/ifup-local
[root@epsilon network-scripts]# cat /sbin/ifup-local
#!/bin/bash
case "$1" in
eth0)
logger -t ifup-local " $1 "
;;
tun0)
logger -t ifup-local " $1 "
;;
*)
logger -t ifup-local "Unhandled Interface $1 "
esac