From c2b91e2eff784c5e8fa9994bb6dab5280bd7c1e0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 8 Jan 2010 01:17:12 -0500 Subject: Still need ability to mount only part of the union in mount_union_ro() --- squashfu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3