Re: Another newbie question

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

 



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/


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

  Powered by Linux