From b4b8036b806c91b6f56ecc1f048eb63853a256f9 Mon Sep 17 00:00:00 2001 From: ferrreo Date: Sat, 2 Sep 2023 14:52:33 +0100 Subject: [PATCH] Update postinst --- debian/postinst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 798a8a7..525d4d7 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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