Update postinst
This commit is contained in:
parent
452842e37d
commit
c4b350af1e
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -38,7 +38,7 @@ fi
|
|||||||
# Add nvidia support if an nvidia card is detected
|
# Add nvidia support if an nvidia card is detected
|
||||||
if lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i nvidia
|
if lspci -k | grep -iEA3 '^[[:alnum:]]{2}:[[:alnum:]]{2}.*VGA|3D|DISPLAY' | grep -i nvidia
|
||||||
then
|
then
|
||||||
# DO NVIDIA BULLSHIT
|
echo 'modules_force_load: nvidia' >> /etc/booster.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -f /usr/lib/booster/update-initramfs /usr/sbin/update-initramfs
|
cp -f /usr/lib/booster/update-initramfs /usr/sbin/update-initramfs
|
||||||
|
Loading…
Reference in New Issue
Block a user