diff options
author | Francois Pons <fpons@mandriva.com> | 2003-09-23 12:13:21 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-09-23 12:13:21 +0000 |
commit | 5143832333fe9d07aac11c4209b26f098e83b747 (patch) | |
tree | 1519f2a259e60493c32ac490568fc820610e6231 /perl-install/network/netconnect.pm | |
parent | 82ac911018f1e111fbf099ced7036e32f87d1b4b (diff) | |
download | drakx-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.
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
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); } |