Update postinst
This commit is contained in:
parent
ecc8703716
commit
b4b8036b80
9
debian/postinst
vendored
9
debian/postinst
vendored
@ -32,7 +32,14 @@ then
|
|||||||
then
|
then
|
||||||
true
|
true
|
||||||
else
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user