summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/finish-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-19 15:34:58 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-19 15:34:58 +0000
commit2e817a5aa5b7edb57703002d08cf4a243b3dd32a (patch)
tree504c82e3e172ab573d6de0d0e838bacc9ec3d5ee /perl-install/standalone/finish-install
parent65bda0479fe38e6e1846edd1521990571b632e20 (diff)
downloaddrakx-2e817a5aa5b7edb57703002d08cf4a243b3dd32a.tar
drakx-2e817a5aa5b7edb57703002d08cf4a243b3dd32a.tar.gz
drakx-2e817a5aa5b7edb57703002d08cf4a243b3dd32a.tar.bz2
drakx-2e817a5aa5b7edb57703002d08cf4a243b3dd32a.tar.xz
drakx-2e817a5aa5b7edb57703002d08cf4a243b3dd32a.zip
do not configure network if already up
Diffstat (limited to 'perl-install/standalone/finish-install')
-rwxr-xr-xperl-install/standalone/finish-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index eeded47b9..d817c8fda 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -65,6 +65,8 @@ sub ask_timezone() {
}
sub ask_network() {
+ require network::tools;
+ return if network::tools::has_network_connection();
require network::netconnect;
my $modules_conf = modules::any_conf->read;
network::netconnect::real_main($net, $in, $modules_conf);