Skip to content
Snippets Groups Projects
Commit 38516cd7 authored by John Crispin's avatar John Crispin
Browse files

fixes usb storage mounting

SVN-Revision: 12465
parent d962e2ea
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ while [ $i -le 10 ]; do ...@@ -10,7 +10,7 @@ while [ $i -le 10 ]; do
cd /sys${DEVPATH} cd /sys${DEVPATH}
for blk in `find host* -type d 2>/dev/null`; do for blk in `find host* -type d 2>/dev/null`; do
cd /sys/${DEVPATH}/${blk} cd /sys/${DEVPATH}/${blk}
BLK=$(find block* -type l 2>/dev/null) BLK=$(find block* -type d 2>/dev/null)
[ -n "${BLK}" ] && { [ -n "${BLK}" ] && {
cd /sys${DEVPATH}/${blk}/${BLK} cd /sys${DEVPATH}/${blk}/${BLK}
ls /dev/ > /tmp/d ls /dev/ > /tmp/d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment