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

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

 



On Fri, Jan 22, 2010 at 10:13:38AM +0100, Tomasz Torcz wrote:
> On Fri, Jan 22, 2010 at 11:01:37AM +0200, Pasi Kärkkäinen wrote:
> > Hello,
> > 
> > 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? 
> > 
> > Maybe something like POST_UP="/path/script" in /etc/sysconfig/network-scripts/ifcfg-int
> 
>   You can drop a script into /etc/NetworkManager/dispatcher.d/ and check
> parameters. IIRC $1 is interface name and $2 is state (up, down).
> 

Thanks for the tip. I'll look into that..

Would be nicer if it was directly in ifcfg-<interface> file though..

-- Pasi

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux