From: John Crispin Date: Mon, 1 Sep 2008 17:42:35 +0000 (+0000) Subject: fixes usb storage mounting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=38516cd7800fdcc2305b2d0041fda8fd4bd30e2f;p=openwrt%2Fstaging%2Fneocturne.git fixes usb storage mounting SVN-Revision: 12465 --- diff --git a/package/base-files/files/sbin/usb-storage b/package/base-files/files/sbin/usb-storage index 51e704f53a..6c32de8982 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