Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib/rpm/redhat/find-provides.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //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

ZeroDay Forums Mini