Update postinst

This commit is contained in:
ferrreo 2023-09-02 14:52:33 +01:00 committed by GitHub
parent ecc8703716
commit b4b8036b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
debian/postinst vendored
View File

@ -32,7 +32,14 @@ then
then
true
else
echo 'modules_force_load: nvidia' >> /etc/booster.yaml
echo 'modules_force_load: nvidia, usbhid' >> /etc/booster.yaml
fi
else
if cat /etc/booster.yaml | grep -i 'usbhid'
then
true
else
echo 'modules_force_load: usbhid' >> /etc/booster.yaml
fi
fi