[CentOS] Run commands automatically when bringing up/down network interfaces?

Frank Cox theatre at sasktel.net
Wed Sep 14 21:27:06 UTC 2011


On Wed, 14 Sep 2011 12:26:10 -0700
Edward Morbius wrote:

> I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down
> network commands capability.

If you're using networkmanager you can create a script in
in /etc/NetworkManager/dispatcher.d/ to do pretty much anything you want it to
do.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!



More information about the CentOS mailing list