diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-09-11 16:04:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-09-11 16:04:38 +0000 |
commit | 1fc3dd13b26af56d43157ccdea5ef8b5ec8ab516 (patch) | |
tree | 09b83d417cd39b7e28a63df36b5b24f8fb4a4114 | |
parent | 2b9b8322c9d45fc9030fc720279f3fad0abd277f (diff) | |
download | drakx-backup-do-not-use-1fc3dd13b26af56d43157ccdea5ef8b5ec8ab516.tar drakx-backup-do-not-use-1fc3dd13b26af56d43157ccdea5ef8b5ec8ab516.tar.gz drakx-backup-do-not-use-1fc3dd13b26af56d43157ccdea5ef8b5ec8ab516.tar.bz2 drakx-backup-do-not-use-1fc3dd13b26af56d43157ccdea5ef8b5ec8ab516.tar.xz drakx-backup-do-not-use-1fc3dd13b26af56d43157ccdea5ef8b5ec8ab516.zip |
do not set hostname if there's a dynamic interface
-rwxr-xr-x | perl-install/standalone/drakconnect | 2 |
1 files changed, 1 insertions, 1 deletions
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 |