Hi.
Dan Williams <dcbw(a)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.