projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf2fa08
)
fixes usb storage mounting
author
John Crispin
<john@openwrt.org>
Mon, 1 Sep 2008 17:42:35 +0000
(17:42 +0000)
committer
John Crispin
<john@openwrt.org>
Mon, 1 Sep 2008 17:42:35 +0000
(17:42 +0000)
SVN-Revision: 12465
package/base-files/files/sbin/usb-storage
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/usb-storage
b/package/base-files/files/sbin/usb-storage
index 51e704f53a39fdf8b8e41bc25766021c53a1b704..6c32de8982c9a4379dfe8616eb634f2314200d84 100755
(executable)
--- 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