summaryrefslogtreecommitdiffstats
path: root/perl-install/patch/patch-9.0-auto-inst-network-config.pl
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-15 17:21:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-15 17:21:57 +0000
commit872a725d052e5da274568e5a7bad861c2748586b (patch)
tree3af92d1b7a7dba0dfe2e618df2cb976fa32a7a98 /perl-install/patch/patch-9.0-auto-inst-network-config.pl
parent6bea210c5f780d53ef7049548fa4d649dd832408 (diff)
downloaddrakx-872a725d052e5da274568e5a7bad861c2748586b.tar
drakx-872a725d052e5da274568e5a7bad861c2748586b.tar.gz
drakx-872a725d052e5da274568e5a7bad861c2748586b.tar.bz2
drakx-872a725d052e5da274568e5a7bad861c2748586b.tar.xz
drakx-872a725d052e5da274568e5a7bad861c2748586b.zip
fix for network module probe & configuration in interactive auto_install
Diffstat (limited to 'perl-install/patch/patch-9.0-auto-inst-network-config.pl')
-rw-r--r--perl-install/patch/patch-9.0-auto-inst-network-config.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/perl-install/patch/patch-9.0-auto-inst-network-config.pl b/perl-install/patch/patch-9.0-auto-inst-network-config.pl
new file mode 100644
index 000000000..f7cdc95ce
--- /dev/null
+++ b/perl-install/patch/patch-9.0-auto-inst-network-config.pl
@@ -0,0 +1,8 @@
+package install_steps;
+log::l("fixing network module probe & configuration in interactive auto_install");
+my $old_configureNetwork = \&configureNetwork;
+undef *configureNetwork;
+*configureNetwork = sub {
+ modules::load_category('network/main|usb');
+ &$old_configureNetwork;
+};