summaryrefslogtreecommitdiffstats
path: root/perl-install/unused/otherinsmod.pm
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2001-08-07 17:40:36 +0000
committerMystery Man <unknown@mandriva.org>2001-08-07 17:40:36 +0000
commit068d599562888a36a50e5bbdeb8b70f83fa7c287 (patch)
tree18f5eed8353b3af647412875d438b55ef8c07670 /perl-install/unused/otherinsmod.pm
parentbe838931607e1ab14c8c699e20dd807b55579f7b (diff)
downloaddrakx-backup-do-not-use-topic/v_webmin_0_87.tar
drakx-backup-do-not-use-topic/v_webmin_0_87.tar.gz
drakx-backup-do-not-use-topic/v_webmin_0_87.tar.bz2
drakx-backup-do-not-use-topic/v_webmin_0_87.tar.xz
drakx-backup-do-not-use-topic/v_webmin_0_87.zip
This commit was manufactured by cvs2svn to create branchtopic/v_webmin_0_87
'v_webmin_0_87'.
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 }