summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/900-enable-persistent6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/chroot_local-includes/lib/live/config/900-enable-persistent b/config/chroot_local-includes/lib/live/config/900-enable-persistent
index 55a77d9..c351d5a 100755
--- a/config/chroot_local-includes/lib/live/config/900-enable-persistent
+++ b/config/chroot_local-includes/lib/live/config/900-enable-persistent
@@ -4,8 +4,10 @@
case "$(awk '{if($2=="/live/image"){print $1;}}' /proc/mounts)" in
/dev/sd*)
- case "$(awk '{if($2=="/live/cow"){print $1;}}' /proc/mounts; ls /grub.cmdline 2>/dev/null)" in
- /dev/sd*|/grub.cmdline)
+ # TODO workaround with mountpoints use grub.cmdline as flag
+ # also in enable_persistent_live.bash needed
+ case "$( ls /grub.cmdline 2>/dev/null)" in
+ /grub.cmdline)
rm -f /home/${LIVE_USERNAME}/Desktop/enable_persistent.desktop
;;
*)