diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-05-13 03:09:20 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-06-21 12:50:41 +0200 |
commit | 517a9393c8f636d8cde2fe245bb86ccf112d7a00 (patch) | |
tree | 9ff9dc87777122f2437c063c2160a1ad40377830 /kmod.prov | |
parent | 080d5b42bdbc8596e1930377890afd012372301e (diff) | |
download | rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar.gz rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar.bz2 rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.tar.xz rpm-setup-517a9393c8f636d8cde2fe245bb86ccf112d7a00.zip |
remove unused kmod.* files
Should have been done in
commit d629c66e5ee362a67c9564e74619104a51f769ee
Diffstat (limited to 'kmod.prov')
-rw-r--r-- | kmod.prov | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kmod.prov b/kmod.prov deleted file mode 100644 index f02d8a0..0000000 --- a/kmod.prov +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh +x - -IFS=$'\n' - -for i in $(grep -E '(/lib/modules/.*\.ko|/lib/modules/.*/modules.builtin)'); -do - kmod=$(basename $i | sed -e 's/.[xg]z//'); - - if [ $kmod == "modules.builtin" ]; then - for j in $(cat $i); do - j=$(basename $j); - echo "kmod($j)" - done - else - echo "kmod($kmod)" - fi -done |