summaryrefslogtreecommitdiffstats
path: root/rescue/tree/sbin
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-07-11 16:49:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-07-11 16:49:21 +0000
commit4c2fb3914a389afd7a79bbabea1dde6968448505 (patch)
tree6a8bce94bd86081a8ea16575ac04aa8497165731 /rescue/tree/sbin
parent7bde119e6549da24984faa80c892e2f028e10d4f (diff)
downloaddrakx-backup-do-not-use-4c2fb3914a389afd7a79bbabea1dde6968448505.tar
drakx-backup-do-not-use-4c2fb3914a389afd7a79bbabea1dde6968448505.tar.gz
drakx-backup-do-not-use-4c2fb3914a389afd7a79bbabea1dde6968448505.tar.bz2
drakx-backup-do-not-use-4c2fb3914a389afd7a79bbabea1dde6968448505.tar.xz
drakx-backup-do-not-use-4c2fb3914a389afd7a79bbabea1dde6968448505.zip
no_comment
Diffstat (limited to 'rescue/tree/sbin')
-rwxr-xr-xrescue/tree/sbin/modprobe1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/tree/sbin/modprobe b/rescue/tree/sbin/modprobe
index 494f5b2a2..f007d949c 100755
--- a/rescue/tree/sbin/modprobe
+++ b/rescue/tree/sbin/modprobe
@@ -30,6 +30,7 @@ sub load {
system("extract_archive /modules/modules.cz* /tmp $name.o >/dev/null");
-r "/tmp/$name.o" or die "can't find module $name\n";
system("/sbin/insmod -f /tmp/$name.o"); $? and die("insmod $name failed");
+ system("rm /tmp/$name.o");
}
!@ARGV || $ARGV[0] =~ /-h/ and die "usage: modprobe <module> [<options...>]\n";