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:
Felix Fietkau
2006-12-20 05:29:52 +00:00
parent 8b3f951d40
commit 7a71618416

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
}