From f80fa3b76df681f4dc2837cd2192247cfe2c0d7c Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 2 May 2000 08:45:28 +0000 Subject: *** empty log message *** --- perl-install/install_any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 82ac04c82..371969337 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -420,11 +420,11 @@ sub setAuthentication { $o->pkg_install("ypbind"); my $domain = $o->{netc}{NISDOMAIN}; $domain || $nis ne "broadcast" or die _("Can't use broadcast with no NIS domain"); - my $t = $domain ? "domain $domain" . ($nis_server ne "broadcast" && " server") + my $t = $domain ? "domain $domain" . ($nis ne "broadcast" && " server") : "ypserver"; substInFile { $_ = "#~$_" unless /^#/; - $_ .= "$t $nis_server\n" if eof; + $_ .= "$t $nis\n" if eof; } "$p/etc/yp.conf"; network::write_conf("$p/etc/sysconfig/network", $o->{netc}); } -- cgit v1.2.1