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

John Arthur lists at davey.net.au
Wed Oct 31 12:48:10 UTC 2007


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 at epsilon network-scripts]# ls -la /sbin/ifup-local
-rwxr-xr-x 1 root root 240 Oct 31 22:48 /sbin/ifup-local


[root at 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





More information about the fedora-list mailing list