summaryrefslogtreecommitdiffstats
path: root/common/scripts/test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/test.pl')
-rw-r--r--common/scripts/test.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/scripts/test.pl b/common/scripts/test.pl
new file mode 100644
index 00000000..5fbba3cb
--- /dev/null
+++ b/common/scripts/test.pl
@@ -0,0 +1,12 @@
+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");