Scripts for searching not only root owned files

-uid 0 removed.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
This commit is contained in:
Dmitry Kasatkin
2011-12-02 14:15:19 +02:00
parent b60f927609
commit 8e68cd0135
5 changed files with 5 additions and 7 deletions

View File

@ -10,6 +10,5 @@ dir=${1:-/lib/modules}
echo "Signing modules: $dir"
find $dir -name "*.ko" -type f -uid 0 -exec evmctl sign --imasig $verbose '{}' \;
find $dir ! -name "*.ko" -type f -uid 0 -exec evmctl sign --imahash $verbose '{}' \;
find $dir -name "*.ko" -type f -exec evmctl sign --imasig $verbose '{}' \;