From a3cec29a22243f0fe184a93961061542b8565cb4 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 1 Sep 2008 17:42:35 +0000 Subject: fixes usb storage mounting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12465 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/sbin/usb-storage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/sbin') 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 -- cgit v1.2.3