diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-06-06 06:10:50 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-06-06 06:10:50 +0000 |
commit | a2b0632beac5ac3ebe7ef0366dcabe71be0f4944 (patch) | |
tree | b9cb94a6516cd45e50cb649a216effd83e64db3a /perl-install/network/network.pm | |
parent | e08e5e675d092a663b5fa7371426bf7f11f50bbf (diff) | |
download | drakx-a2b0632beac5ac3ebe7ef0366dcabe71be0f4944.tar drakx-a2b0632beac5ac3ebe7ef0366dcabe71be0f4944.tar.gz drakx-a2b0632beac5ac3ebe7ef0366dcabe71be0f4944.tar.bz2 drakx-a2b0632beac5ac3ebe7ef0366dcabe71be0f4944.tar.xz drakx-a2b0632beac5ac3ebe7ef0366dcabe71be0f4944.zip |
make it more readable
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r-- | perl-install/network/network.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 71b99bb39..d363ac7a2 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -99,7 +99,7 @@ sub write_network_conf { $net->{network}{NETWORKING} = 'yes'; setVarsInSh($network_file, $net->{network}, qw(HOSTNAME NETWORKING GATEWAY GATEWAYDEV NISDOMAIN FORWARD_IPV4 NETWORKING_IPV6)); - $net->{network}{HOSTNAME} and sethostname($net) unless $::isInstall; + $net->{network}{HOSTNAME} && !$::isInstall and sethostname($net); } sub write_zeroconf { |