diff options
Diffstat (limited to 'modules.d')
-rwxr-xr-x | modules.d/90mgalive/mgalive-root.sh | 2 |
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 |