summaryrefslogtreecommitdiffstats
path: root/perl-install/unused/otherinsmod.pm
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2003-02-24 21:38:29 +0000
committerMystery Man <unknown@mandriva.org>2003-02-24 21:38:29 +0000
commit34fc23f1f8648b24ea847b226d3d9fd6d28b5b94 (patch)
tree554d371bc001e11e8b607cf4e159fd0e3c10dc1e /perl-install/unused/otherinsmod.pm
parent125381a2f6f932524a77eb7a30e4f8089077cc6e (diff)
downloaddrakx-34fc23f1f8648b24ea847b226d3d9fd6d28b5b94.tar
drakx-34fc23f1f8648b24ea847b226d3d9fd6d28b5b94.tar.gz
drakx-34fc23f1f8648b24ea847b226d3d9fd6d28b5b94.tar.bz2
drakx-34fc23f1f8648b24ea847b226d3d9fd6d28b5b94.tar.xz
drakx-34fc23f1f8648b24ea847b226d3d9fd6d28b5b94.zip
This commit was manufactured by cvs2svn to create tag 'V9_1_6mdk'.V9_1_6mdk
Diffstat (limited to 'perl-install/unused/otherinsmod.pm')
-rw-r--r--perl-install/unused/otherinsmod.pm26
1 files changed, 0 insertions, 26 deletions
diff --git a/perl-install/unused/otherinsmod.pm b/perl-install/unused/otherinsmod.pm
deleted file mode 100644
index 1a8eee9ff..000000000
--- a/perl-install/unused/otherinsmod.pm
+++ /dev/null
@@ -1,26 +0,0 @@
-use diagnostics;
-use strict;
-
-sub insmod {
-
- @_ or die "usage: insmod <module>.o [params]\n";
-
- my $file = shift;
- my $tmpname;
-
- unless (-r $file) {
- local *F;
- open F, "/modules/modules.cgz" or die "error opening /modules/modules.cgz";
-
- $tmpname = "/tmp/" . basename($file);
-
- installCpioFile(\*F, $file, $tmpname, 0) or die "error extracting file";
- }
-
- my $rc = insmod_main($tmpname || $file, @_);
-
- unlink($tmpname);
-
- return $rc;
-}
-sub modprobe { &insmod }