From 4c2fb3914a389afd7a79bbabea1dde6968448505 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Jul 2000 16:49:21 +0000 Subject: no_comment --- rescue/tree/sbin/modprobe | 1 + 1 file changed, 1 insertion(+) (limited to 'rescue/tree/sbin') 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 []\n"; -- cgit v1.2.1