summaryrefslogtreecommitdiffstats
path: root/perl-install/unused/otherinsmod.pm
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-07-18 10:15:29 +0000
committerMystery Man <unknown@mandriva.org>2002-07-18 10:15:29 +0000
commit700529a81000e551676a591369fc7c9ea13a1a33 (patch)
treecf19449afbd0ef4f2b12faffa7657a38ab578b99 /perl-install/unused/otherinsmod.pm
parent1f295b1f8bfe64f293a79900161b085a37009dee (diff)
downloaddrakx-backup-do-not-use-1_1_8_6mdk.tar
drakx-backup-do-not-use-1_1_8_6mdk.tar.gz
drakx-backup-do-not-use-1_1_8_6mdk.tar.bz2
drakx-backup-do-not-use-1_1_8_6mdk.tar.xz
drakx-backup-do-not-use-1_1_8_6mdk.zip
This commit was manufactured by cvs2svn to create tag 'V1_1_8_6mdk'.V1_1_8_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 }