don't try to automount loopback devices (#1011)

SVN-Revision: 5877
owl
Felix Fietkau 2006-12-20 05:29:52 +00:00
parent 4bef6e13c2
commit 354a4b31a4
1 changed files with 1 additions and 1 deletions

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
}