summaryrefslogtreecommitdiffstats
path: root/dns_wizard/scripts/Dnsconf.pm
diff options
context:
space:
mode:
authorArnaud Desmons <adesmons@mandriva.com>2002-08-01 09:48:31 +0000
committerArnaud Desmons <adesmons@mandriva.com>2002-08-01 09:48:31 +0000
commit242f807ebab55dc5549f6d51e088463a4dcfbe5e (patch)
treef1dc3c82d562c329232a6ed979fe745a875bb0aa /dns_wizard/scripts/Dnsconf.pm
parentd4c52e0a97ac1cf886d54445360a8879949a6838 (diff)
downloaddrakwizard-242f807ebab55dc5549f6d51e088463a4dcfbe5e.tar
drakwizard-242f807ebab55dc5549f6d51e088463a4dcfbe5e.tar.gz
drakwizard-242f807ebab55dc5549f6d51e088463a4dcfbe5e.tar.bz2
drakwizard-242f807ebab55dc5549f6d51e088463a4dcfbe5e.tar.xz
drakwizard-242f807ebab55dc5549f6d51e088463a4dcfbe5e.zip
supressed debug print, added a return value to do_it
Diffstat (limited to 'dns_wizard/scripts/Dnsconf.pm')
-rw-r--r--dns_wizard/scripts/Dnsconf.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/dns_wizard/scripts/Dnsconf.pm b/dns_wizard/scripts/Dnsconf.pm
index 0b1921f0..f3ca63ce 100644
--- a/dns_wizard/scripts/Dnsconf.pm
+++ b/dns_wizard/scripts/Dnsconf.pm
@@ -146,14 +146,13 @@ sub do_it {
print NEW "domain $wiz_domain_name\n";
print NEW "nameserver $wiz_ip_server\n";
- print "toto\n";
system("/sbin/chkconfig --level 235 named on") or die "error on running /sbin/chkconfig: $!";
system("/etc/rc.d/init.d/named restart") or die "error on restarting /etc/rc.d/init.d/named: $!";
- print "tata\n";
%mdk = Vareqval->get("/etc/sysconfig/mdk_serv");
$mdk{wiz_caching_dns} = "1";
Vareqval->commit("/etc/sysconfig/mdk_serv", \%mdk);
+ 10;
}
1;