summaryrefslogtreecommitdiff
path: root/components/9990-overlay.sh
diff options
context:
space:
mode:
Diffstat (limited to 'components/9990-overlay.sh')
-rwxr-xr-xcomponents/9990-overlay.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh
index 54b75e5..92d0355 100755
--- a/components/9990-overlay.sh
+++ b/components/9990-overlay.sh
@@ -299,6 +299,9 @@ setup_unionfs ()
fi || panic "mount ${UNIONTYPE} on ${unionmountpoint} failed with option ${unionmountopts}"
done
+ # Remove persistence depending on boot parameter
+ Remove_persistence
+
# Correct the permissions of /:
chmod 0755 "${rootmnt}"