Rawhide NetworkManager

Ralf Ertzinger fedora-devel at camperquake.de
Tue Mar 22 19:33:57 UTC 2005


Hi.

Dan Williams <dcbw at redhat.com> wrote:

> Ok, next question is:
> 
> 1) How do you know which profile is begin used at any given time?

Like this:

#!/usr/bin/python

import sys

if not "/usr/share/system-config-network" in sys.path:
    sys.path.append("/usr/share/system-config-network")

if not "/usr/share/system-config-network/netconfpkg/" in sys.path:
    sys.path.append("/usr/share/system-config-network/netconfpkg")

from netconfpkg import *

print getProfileList().getActiveProfile().ProfileName;


-- 
Transported to a surreal landscape, a young girl kills the first woman
she meets and then teams up with three complete stangers to kill again.
  -- TV listing for the movie, The Wizard of Oz, in the Marin Paper.




More information about the fedora-devel-list mailing list