use lib qw(/usr/lib/libDrakX); package Dhcpconf; require "IFCFG.pm"; #require "__WIZ_HOME__/common/scripts/DrakconnectConf.pm"; use MDK::Common; use strict; use standalone; my $o = IFCFG->new(); print $o->is_dhcp() ? "toto\n" : "tata\n"; print $o->itf_get("IPADDR"); print $o->network_get("DOMAINNAME");