summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-23 12:13:21 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-23 12:13:21 +0000
commit5143832333fe9d07aac11c4209b26f098e83b747 (patch)
tree1519f2a259e60493c32ac490568fc820610e6231
parent82ac911018f1e111fbf099ced7036e32f87d1b4b (diff)
downloaddrakx-5143832333fe9d07aac11c4209b26f098e83b747.tar
drakx-5143832333fe9d07aac11c4209b26f098e83b747.tar.gz
drakx-5143832333fe9d07aac11c4209b26f098e83b747.tar.bz2
drakx-5143832333fe9d07aac11c4209b26f098e83b747.tar.xz
drakx-5143832333fe9d07aac11c4209b26f098e83b747.zip
make sure network is started for start_internet.
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 3160b374c..05cc27d27 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -336,7 +336,9 @@ sub read_net_conf {
sub start_internet {
my ($o) = @_;
init_globals($o, $o->{prefix});
- $::isStandalone or modules::load_category('network/main|gigabit|usb'); #- give a chance for module to be loaded using kernel-BOOT modules...
+ #- give a chance for module to be loaded using kernel-BOOT modules...
+ $::isStandalone or modules::load_category('network/main|gigabit|usb');
+ run_program::rooted($prefix, "/sbin/service", "network", "restart");
run_program::rooted($prefix, $connect_file);
}