diff options
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-x | package/base-files/files/sbin/usb-storage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/usb-storage b/package/base-files/files/sbin/usb-storage index 51e704f53..6c32de898 100755 --- a/package/base-files/files/sbin/usb-storage +++ b/package/base-files/files/sbin/usb-storage @@ -10,7 +10,7 @@ while [ $i -le 10 ]; do cd /sys${DEVPATH} for blk in `find host* -type d 2>/dev/null`; do cd /sys/${DEVPATH}/${blk} - BLK=$(find block* -type l 2>/dev/null) + BLK=$(find block* -type d 2>/dev/null) [ -n "${BLK}" ] && { cd /sys${DEVPATH}/${blk}/${BLK} ls /dev/ > /tmp/d |