summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-29 10:47:24 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-29 10:47:24 +0000
commit7de8a96d9e4b7aaebb7097b584e5ef2ca2d317c0 (patch)
tree5478c852c0bda407754c14844280e3807ed2d9a6 /perl-install/standalone
parent245959c56c891596c62e3f279ebcae45a4f95b03 (diff)
downloaddrakx-7de8a96d9e4b7aaebb7097b584e5ef2ca2d317c0.tar
drakx-7de8a96d9e4b7aaebb7097b584e5ef2ca2d317c0.tar.gz
drakx-7de8a96d9e4b7aaebb7097b584e5ef2ca2d317c0.tar.bz2
drakx-7de8a96d9e4b7aaebb7097b584e5ef2ca2d317c0.tar.xz
drakx-7de8a96d9e4b7aaebb7097b584e5ef2ca2d317c0.zip
remove wrong test
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakgw4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index 13a048548..2e838804e 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -210,11 +210,9 @@ I am about to setup your Local Area Network with that adapter.", format_interfac
];
},
complete => sub {
- $dhcpd_conf->{domain_name_servers}[0] eq $lan_intf->{IPADDR} or return 0;
!$use_caching_dns || $::testing and return 0;
#- install a caching name server if the specified DNS is the gateway
- $in->do_pkgs->ensure_is_installed('caching-nameserver', '/var/named/named.local') or return 1;
- 0;
+ !$in->do_pkgs->ensure_is_installed('caching-nameserver', '/var/named/named.local');
},
post => sub {
services::set_status($_, $use_caching_dns) foreach qw(named caching-nameserver);