From 1fc3dd13b26af56d43157ccdea5ef8b5ec8ab516 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 11 Sep 2003 16:04:38 +0000 Subject: do not set hostname if there's a dynamic interface --- perl-install/standalone/drakconnect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakconnect') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index be17efbf0..f91700ec5 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -358,7 +358,7 @@ sub update_list() { } sub apply() { - network::sethostname($netc); + network::sethostname($netc) if every { $_->{BOOTPROTO} eq "static" } values %$intf; $netcnx->{type} eq 'modem' and network::modem::ppp_configure($in, $netcnx->{$netcnx->{type}}); $netcnx->{type} eq 'isdn_internal' and network::isdn::isdn_write_config_backend($netcnx->{$netcnx->{type}}, $netc, $netcnx); #$light -- cgit v1.2.1