aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit354a4b31a4da3a2a99acf468847a4f25f3ff1904 (patch)
tree8d37f8e92a8f460ceefce91fe8cd0d000fa80025 /package
parent4bef6e13c29575235f074d1c9333d30e251dc500 (diff)
downloadupstream-354a4b31a4da3a2a99acf468847a4f25f3ff1904.tar.gz
upstream-354a4b31a4da3a2a99acf468847a4f25f3ff1904.tar.bz2
upstream-354a4b31a4da3a2a99acf468847a4f25f3ff1904.zip
don't try to automount loopback devices (#1011)
SVN-Revision: 5877
Diffstat (limited to 'package')
-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
}