mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fixes usb storage mounting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12465 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9fd8bebddb
commit
206e0235ad
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user