diff options
Diffstat (limited to 'v4l/scripts/rmmod.pl')
-rwxr-xr-x | v4l/scripts/rmmod.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/v4l/scripts/rmmod.pl b/v4l/scripts/rmmod.pl index eb8f02d14..19a0a8c61 100755 --- a/v4l/scripts/rmmod.pl +++ b/v4l/scripts/rmmod.pl @@ -144,13 +144,12 @@ sub insmod ($) sub rmmod () { - my $cmd="rmmod"; while (my $key=pop @modlist) { my $dep=$key; $dep=~s/[\-]/_/g; if (exists ($loaded{$dep})) { - printf "$cmd ./$key.ko\n"; - system "$cmd ./$key.ko\n"; + printf "rmmod $dep\n"; + system "rmmod $dep\n"; } } } |