Another newbie question

Mike Klinke lsomike at futzin.com
Mon Jan 2 03:43:00 UTC 2006


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. )

Regards, Mike Klinke




More information about the fedora-list mailing list