From e0e0aa907b055325daedc265769886273c86a28c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Aug 2003 13:08:14 +0000 Subject: - fix hostname setting - set hostname at the same time we apply dns changes, that is when one ask to apply changes --- perl-install/standalone/drakconnect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 5272f8fa4..ba852b252 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -194,7 +194,6 @@ $window1->{window}->add( local ($::isWizard, $::Wizard_finished) = (1, 1); eval { # For wizcancel configureNetworkNet($in, $netc, $intf, @all_cards); - network::sethostname($intf); $button_apply->set_sensitive(1); update(); }; @@ -347,6 +346,7 @@ sub update_list() { sub apply() { $old_profile = $netcnx->{PROFILE} || "default"; + network::sethostname($netc); network::netconnect::save_conf($netcnx); $netcnx->{type} eq 'modem' and network::modem::ppp_configure($in, $netcnx->{$netcnx->{type}}); -- cgit v1.2.1