1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:48:26 +02: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:
nbd 2006-12-20 05:29:52 +00:00
parent 799bc42c35
commit afacc5b25a

View File

@ -13,7 +13,7 @@ add)
}; done
echo
[ ${DEV%%[0-9]} != ${DEV} ] && {
[ ${DEV%%[0-9]} != ${DEV} -a ${DEV%%[0-9]} != "loop" ] && {
mkdir -p /tmp/$DEV
mount /dev/$DEV /tmp/$DEV -t auto -o sync
}