mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-18 12:51:40 +00:00
Try to apply USB quirks at boot
This commit is contained in:
parent
3b95a85230
commit
7927a540da
1 changed files with 3 additions and 0 deletions
|
@ -371,6 +371,9 @@ add_usb_storage_quirks() {
|
|||
read USBQUIRKS <${TMPFILE}
|
||||
sed -i '/^usbstoragequirks/d' /boot/armbianEnv.txt
|
||||
echo "usbstoragequirks=${USBQUIRKS}" >>/boot/armbianEnv.txt
|
||||
if [ -f /sys/module/usb_storage/parameters/quirks ]; then
|
||||
echo ${USBQUIRKS} >/sys/module/usb_storage/parameters/quirks
|
||||
fi
|
||||
} # add_usb_storage_quirks
|
||||
|
||||
activate_zram() {
|
||||
|
|
Loading…
Add table
Reference in a new issue