Update postinst

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-31 13:21:09 +03:00 committed by GitHub
parent 452842e37d
commit c4b350af1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
debian/postinst vendored
View File

@ -38,7 +38,7 @@ fi
# Add nvidia support if an nvidia card is detected
if lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i nvidia
then
# DO NVIDIA BULLSHIT
echo 'modules_force_load: nvidia' >> /etc/booster.yaml
fi
cp -f /usr/lib/booster/update-initramfs /usr/sbin/update-initramfs