Update kernel module blacklist

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy
2024-06-02 20:19:08 -07:00
parent 0888d50f30
commit bf21e04d64
3 changed files with 5 additions and 170 deletions

View File

@@ -25,9 +25,6 @@ while read -r KMOD; do
sed -i "s/^${KMOD}$//g" blacklist.txt
done < necessary.txt
# Delete empty lines
sed -i '/^$/d' blacklist.txt
# Module filtering
while read -r KMOD; do
@@ -38,6 +35,9 @@ while read -r KMOD; do
sed -i "s/.*${KMOD}.*//g" blacklist.txt
done < kmod-filter-all
# Delete empty lines
sed -i '/^$/d' blacklist.txt
# Create final blacklist config
while read -r KMOD; do
echo "install ${KMOD} /bin/false" >> blacklist.conf

View File

@@ -5,5 +5,7 @@ nf_
nvme
pvpanic
hv_
sata_
vbox
xen-
xt_