mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-10-05 22:36:22 +03:00
don't try to automount loopback devices (#1011)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
799bc42c35
commit
afacc5b25a
@ -13,7 +13,7 @@ add)
|
|||||||
}; done
|
}; done
|
||||||
echo
|
echo
|
||||||
|
|
||||||
[ ${DEV%%[0-9]} != ${DEV} ] && {
|
[ ${DEV%%[0-9]} != ${DEV} -a ${DEV%%[0-9]} != "loop" ] && {
|
||||||
mkdir -p /tmp/$DEV
|
mkdir -p /tmp/$DEV
|
||||||
mount /dev/$DEV /tmp/$DEV -t auto -o sync
|
mount /dev/$DEV /tmp/$DEV -t auto -o sync
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user