diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-20 05:29:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-20 05:29:52 +0000 |
commit | 7a716184163e5143d66ba81f85be16936ebcffb0 (patch) | |
tree | b064f839319b55f9fcb599dc32b111afd12c3996 /package | |
parent | 8b3f951d4068978770159c11a40acb320914b015 (diff) | |
download | upstream-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')
-rwxr-xr-x | package/base-files/files/etc/hotplug.d/block/01-mount | 2 |
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 } |