summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-01 17:42:35 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-01 17:42:35 +0000
commita3cec29a22243f0fe184a93961061542b8565cb4 (patch)
treef89b31ba1a08972325a83b1ae219a686ffeb07f6 /package
parentc5b95dd0e91944a32d67681e7e618ae3ce8d76ed (diff)
fixes usb storage mounting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/sbin/usb-storage2
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 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