From 7a716184163e5143d66ba81f85be16936ebcffb0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 20 Dec 2006 05:29:52 +0000 Subject: don't try to automount loopback devices (#1011) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/hotplug.d/block/01-mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/etc') 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 } -- cgit v1.2.3