sysconfig ifcfg-* support for running custom post-up scripts per interface?

Pasi Kärkkäinen pasik at iki.fi
Fri Jan 22 11:08:46 UTC 2010


On Fri, Jan 22, 2010 at 01:06:11PM +0200, Pasi Kärkkäinen wrote:
> 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.
> 

.. just wondering why it's under /sbin and not under 
/etc/sysconfig/network-scripts/

It doesn't feel very good to add custom configuration under /sbin.

-- Pasi



More information about the devel mailing list