On Fri, Jan 22, 2010 at 10:35:13AM +0100, Miloslav Trma?? wrote:
Pasi Kärkkäinen píše v Pá 22. 01. 2010 v 11:01 +0200:
> Has there been any plans to support running custom post-up scripts for each
interface, after "ifup <interface>" ?
>
> Debian allows you to specify:
>
> iface eth0 inet static
> ..
> post-up /etc/network/if-up.d/fw.start
>
> I'm looking for something similar for rhel/fedora.
> Any ideas?
grep ifup-local /etc/sysconfig/network-scripts/ifup-post
Thanks for pointing that out. I was looking at ifup-post,
and I thought ifup-local was a script provided by the system,
but it seems there's no such script as a default (on RHEL5).
So I can create it and use that.
Thanks!
-- Pasi