diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2018-02-22 17:50:20 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2018-02-22 17:50:20 +0300 |
commit | e4b68cba3788ff1e9b9813cf61e2df68e3842f10 (patch) | |
tree | e5e2160bcb57f48e5b15031dc1af57715820af33 | |
parent | 1c110985ebf3c65928ab976de83067149cce2946 (diff) |
USB after memboot fixed
-rw-r--r-- | mods/mod_hakchi/hakchi/rootfs/etc/preinit.d/p7020_usb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |