summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/tools.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 9c5ea152c..84b35a70b 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -305,9 +305,9 @@ sub ndiswrapper_available_drivers() {
}
sub ndiswrapper_setup() {
- modules::unload("ndiswrapper");
+ eval { modules::unload("ndiswrapper") };
#- unload ndiswrapper first so that the newly installed .inf files will be read
- modules::load("ndiswrapper");
+ eval { modules::load("ndiswrapper") };
#- FIXME: move this somewhere in get_eth_cards, so that configure_eth_aliases correctly writes ndiswrapper
#- find the first interface matching an ndiswrapper driver, try ethtool then sysfs