/sbin/ifup-local does not work on boot only on restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux