diff options
author | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-01 09:48:31 +0000 |
---|---|---|
committer | Arnaud Desmons <adesmons@mandriva.com> | 2002-08-01 09:48:31 +0000 |
commit | 242f807ebab55dc5549f6d51e088463a4dcfbe5e (patch) | |
tree | f1dc3c82d562c329232a6ed979fe745a875bb0aa /dns_wizard/scripts | |
parent | d4c52e0a97ac1cf886d54445360a8879949a6838 (diff) | |
download | drakwizard-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')
-rw-r--r-- | dns_wizard/scripts/Dnsconf.pm | 3 |
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; |