summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-27 13:08:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-27 13:08:14 +0000
commite0e0aa907b055325daedc265769886273c86a28c (patch)
treef477a3b6484f07e31aaadbb6319c50567f52a800 /perl-install/standalone
parent30fcae568f1a070a8a5ce89c26e37bd397be756a (diff)
downloaddrakx-backup-do-not-use-e0e0aa907b055325daedc265769886273c86a28c.tar
drakx-backup-do-not-use-e0e0aa907b055325daedc265769886273c86a28c.tar.gz
drakx-backup-do-not-use-e0e0aa907b055325daedc265769886273c86a28c.tar.bz2
drakx-backup-do-not-use-e0e0aa907b055325daedc265769886273c86a28c.tar.xz
drakx-backup-do-not-use-e0e0aa907b055325daedc265769886273c86a28c.zip
- fix hostname setting
- set hostname at the same time we apply dns changes, that is when one ask to apply changes
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 1 insertions, 1 deletions
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}});