projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c5b6cb0
)
Refactoring duplicate identical call to mount.
author
Tails developers
<amnesia@boum.org>
Sun, 15 Feb 2015 17:33:58 +0000
(17:33 +0000)
committer
Daniel Baumann
<mail@daniel-baumann.ch>
Tue, 28 Apr 2015 04:53:28 +0000
(06:53 +0200)
components/9990-misc-helpers.sh
patch
|
blob
|
history
diff --git
a/components/9990-misc-helpers.sh
b/components/9990-misc-helpers.sh
index
4815553
..
9318a4b
100755
(executable)
--- a/
components/9990-misc-helpers.sh
+++ b/
components/9990-misc-helpers.sh
@@
-1301,7
+1301,6
@@
do_union ()
unionmountopts="${unionmountopts}:${rofs}=${ro_opt}"
done
fi
- mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}"
;;
overlay)
@@
-1321,9
+1320,10
@@
do_union ()
mkdir "${unionrw}/rw"
mkdir "${unionrw}/work"
unionmountopts="-o noatime,lowerdir=${unionro},upperdir=${unionrw}/rw,workdir=${unionrw}/work"
- mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}"
;;
esac
+
+ mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}"
}
get_custom_mounts ()