You are not logged in.

#1 2016-01-24 17:31:04

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

scanning for required modules

Want to write a simple script to scan for required modules (from installed kernel). Possibly along the lines of autodetect hook in initcpio...

for i in $(seq 2); do
    find /sys -name modalias -type f -exec cat {} + | sort -u | xargs modprobe -b -a
done 2>/dev/null

Not sure if above will work?


Mr Green

Offline

Board footer

Powered by FluxBB