Another newbie question

Florin Andrei florin at andrei.myip.org
Mon Jan 2 03:58:44 UTC 2006


On Sun, 2006-01-01 at 21:43 -0600, Mike Klinke wrote:
> On Sunday 01 January 2006 21:12, Florin Andrei wrote:
> 
> > So in theory if you create /sbin/ifup-local and make it
> > executable (chmod +x /sbin/ifup-post), it should be executed
> > every time an interface goes up, after the interface is up and
> > running; the name of the interface is passed as a parameter.
> >
> > In your case, the content of /sbin/ifup-post would be:
> >
> > #!/bin/sh
> > echo 1 > /proc/sys/net/ipv4/${1}/rp_filter
> 
> 
> I think this should read the "content of /sbin/ifup-local" rather 
> than "sbin/ifup-post".
> ( Also applies to the "chmod" command above. )

Indeed, sorry for that.

-- 
Florin Andrei

http://florin.myip.org/




More information about the fedora-list mailing list