projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't try to automount loopback devices (#1011)
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
etc
/
hotplug.d
/
block
/
01-mount
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 5ed3ef060b5ad38e32794a835b2bd839a8e8d590..a34580cb97208804f74629f5fe0512069e98a619 100755
(executable)
--- 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
}