aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-08 01:17:12 -0500
committerDave Reisner <d@falconindy.com>2010-01-08 01:17:12 -0500
commitc2b91e2eff784c5e8fa9994bb6dab5280bd7c1e0 (patch)
tree9eb8a936563258c4b96c2ba00d2d963d58dd4233
parentcd9eab2535a1bc7cea12d3c9827c5437d2b606be (diff)
downloadsquashfu-c2b91e2eff784c5e8fa9994bb6dab5280bd7c1e0.tar.gz
Still need ability to mount only part of the union in mount_union_ro()
-rwxr-xr-xsquashfu2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfu b/squashfu
index 36a3a33..df0f8f8 100755
--- a/squashfu
+++ b/squashfu
@@ -27,7 +27,7 @@ mount_union_ro () {
# build branch string
branches="br="
- for i in `seq 7 -1 1`; do
+ for i in `seq $1 -1 1`; do
branches="${branches}${BKUP_ROOT}/bins/${i}=ro:"
done
branches="${branches}${BKUP_ROOT}/ro=ro"