summaryrefslogtreecommitdiffstats
path: root/modules.d/90mgalive/mgalive-root.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/90mgalive/mgalive-root.sh')
-rwxr-xr-xmodules.d/90mgalive/mgalive-root.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules.d/90mgalive/mgalive-root.sh b/modules.d/90mgalive/mgalive-root.sh
index e5dd177..dd09be7 100755
--- a/modules.d/90mgalive/mgalive-root.sh
+++ b/modules.d/90mgalive/mgalive-root.sh
@@ -50,6 +50,8 @@ basedir=$(getarg mgalive.basedir)
overlay=$(getarg mgalive.overlay)
if [ -z "$overlay" ] ; then
overlay=$(blkid -t LABEL=mgalive-persist -o device | grep $basedev'\|'/dev/mapper)
+elif [ "$overlay" = "ram" ] ; then
+ overlay=
else
overlay=$livedev$overlay
fi