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



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


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • syntec question on pf redirect
    ... I think I am getting a little mixed up on understanding pf redirection. ... with the style of setup I have. ... The way my rules are create is that I restrict on the tun0 ... https, ect) on that interface. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: ipfw and tun0
    ... PPP session via the tun0 interface. ... > When I block those SYN packets, I still see them on tun0 but the RST ... This implies that the firewall rules are working. ...
    (freebsd-questions)
  • Re: Choosing which interface to use
    ... As a result of the VPN client running I ... xl0 needed by the dhcp ... client and tun0 used by the vpn client. ... remote IP addr and the routing table defines the interface to be used. ...
    (freebsd-questions)
  • Re: Which interface do I put natd and ipfw
    ... I need help to set up firewall on my freebsd 5.1 box. ... I need to know which of the 3 interfaces do I put the natd and ipfw. ... I have traffc coming in through the tun0 from outside to the LAN. ... How do I configure the tun0 interface for the firewall since I do ...
    (freebsd-questions)
  • Re: Postfix handoff on dialup
    ... > When I first installed I used KPPP until I got comfortable with system ... > connect via userland ppp and tun0. ... With the tun0 interface, I have ...
    (comp.unix.bsd.freebsd.misc)