aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-20 05:29:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-20 05:29:52 +0000
commit7a716184163e5143d66ba81f85be16936ebcffb0 (patch)
treeb064f839319b55f9fcb599dc32b111afd12c3996 /package/base-files
parent8b3f951d4068978770159c11a40acb320914b015 (diff)
downloadupstream-7a716184163e5143d66ba81f85be16936ebcffb0.tar.gz
upstream-7a716184163e5143d66ba81f85be16936ebcffb0.tar.bz2
upstream-7a716184163e5143d66ba81f85be16936ebcffb0.zip
don't try to automount loopback devices (#1011)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/hotplug.d/block/01-mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/hotplug.d/block/01-mount b/package/base-files/files/etc/hotplug.d/block/01-mount
index 5ed3ef060b..a34580cb97 100755
--- a/package/base-files/files/etc/hotplug.d/block/01-mount
+++ b/package/base-files/files/etc/hotplug.d/block/01-mount
@@ -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
}