From e4b68cba3788ff1e9b9813cf61e2df68e3842f10 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Thu, 22 Feb 2018 17:50:20 +0300 Subject: USB after memboot fixed --- mods/mod_hakchi/hakchi/rootfs/etc/preinit.d/p7020_usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mod_hakchi/hakchi/rootfs/etc/preinit.d/p7020_usb b/mods/mod_hakchi/hakchi/rootfs/etc/preinit.d/p7020_usb index 8c38f151..6dc36af5 100644 --- a/mods/mod_hakchi/hakchi/rootfs/etc/preinit.d/p7020_usb +++ b/mods/mod_hakchi/hakchi/rootfs/etc/preinit.d/p7020_usb @@ -1,4 +1,4 @@ -if [ "$cfg_usb_host" != "y" ]; then +if [ "$cfg_usb_host" != "y" ] || [ ! -z "$(lsusb | grep "1d6b:0002")" ]; then switchToUsbDevice else switchToUsbHost -- cgit v1.2.3