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). -- Tomasz Torcz "God, root, what's the difference?" xmpp: zdzichubg@xxxxxxxxx "God is more forgiving." -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel