summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-15 16:24:31 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-15 16:24:31 +0000
commit48cefeacf8800bb307a42b9a0245ccee1d52752e (patch)
tree0aae1fed74f8d12fc666b38f4ea7b78e92176a7f /perl-install/standalone/drakconnect
parent54509817fa24095090be917988d13476579f499d (diff)
downloaddrakx-48cefeacf8800bb307a42b9a0245ccee1d52752e.tar
drakx-48cefeacf8800bb307a42b9a0245ccee1d52752e.tar.gz
drakx-48cefeacf8800bb307a42b9a0245ccee1d52752e.tar.bz2
drakx-48cefeacf8800bb307a42b9a0245ccee1d52752e.tar.xz
drakx-48cefeacf8800bb307a42b9a0245ccee1d52752e.zip
(configure_net) enable to alter hostname
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 27d27e5d1..d8bccf3d6 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -906,6 +906,7 @@ Please run \"Internet access\" in control center."));
network::adsl::adsl_probe_info($cnx, $netc, $intf);
}
my @conf_data = (
+ [ N("Host name (optional)"), \$netc->{HOSTNAME} ],
[ N("Domain name"), \$netc->{DOMAINNAME} ],
[ N("First DNS Server (optional)"), \$netc->{dnsServer} ], # \$cnx->{dns1}
[ N("Second DNS Server (optional)"), \$netc->{dnsServer2} ], #\$cnx->{dns2}
@@ -954,6 +955,7 @@ Please run \"Internet access\" in control center."));
update();
$button_apply->set_sensitive(1);
} else {
+ configureNetwork2($in, '', $netc, $intf);
write_resolv_conf("/etc/resolv.conf", $netc);
}
$exit_dialogsub->();