slitaz-tools rev 966

tazhw: fix detect_usb_devices
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 14 09:57:57 2016 +0100 (2016-02-14)
parents 49dd8ce35bd4
children 72f3c042d777
files tinyutils/tazhw
line diff
     1.1 --- a/tinyutils/tazhw	Mon Feb 01 15:44:06 2016 +0100
     1.2 +++ b/tinyutils/tazhw	Sun Feb 14 09:57:57 2016 +0100
     1.3 @@ -125,7 +125,7 @@
     1.4  # Detect all USB devices.
     1.5  
     1.6  detect_usb_devices() {
     1.7 -	if [ -e /sys/bus/usb/devices/usb/usb1 ]; then
     1.8 +	if [ -e /sys/bus/usb/devices/usb1 ]; then
     1.9  		for product in /sys/bus/usb/devices/*/product
    1.10  		do
    1.11  			path=$(dirname $product)