projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for the Senao/EnGenius ESR-9753 board
[openwrt.git]
/
package
/
block-mount
/
files
/
mount.sh
diff --git
a/package/block-mount/files/mount.sh
b/package/block-mount/files/mount.sh
index
3056c73
..
e96174c
100644
(file)
--- a/
package/block-mount/files/mount.sh
+++ b/
package/block-mount/files/mount.sh
@@
-41,10
+41,14
@@
config_mount_by_section() {
if [ "$find_rootfs" = "1" ]; then
if [ "$is_rootfs" -eq 1 ]; then
target=/overlay
if [ "$find_rootfs" = "1" ]; then
if [ "$is_rootfs" -eq 1 ]; then
target=/overlay
+ elif [ "$target" = "/" ]; then
+ target=/rom
fi
else
if [ "$is_rootfs" -eq 1 ] || [ "$target" = "/overlay" ]; then
target=/tmp/overlay-disabled
fi
else
if [ "$is_rootfs" -eq 1 ] || [ "$target" = "/overlay" ]; then
target=/tmp/overlay-disabled
+ elif [ "$target" = "/" ] || [ "$target" = "/rom" ]; then
+ target="/tmp/whole_root-disabled"
fi
fi
fi
fi
@@
-59,6
+63,9
@@
config_mount_by_section() {
[ "$target" = "/overlay" ] && {
rootfs_found=1
}
[ "$target" = "/overlay" ] && {
rootfs_found=1
}
+ [ "$target" = "/rom" ] && {
+ rootfs_found=1
+ }
}
return 0
}
}
return 0
}
This page took
0.021239 seconds
and
4
git commands to generate.