summaryrefslogtreecommitdiff
path: root/config/chroot_local-includes
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-02-07 17:52:43 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2013-02-13 22:41:19 +0100
commitb4b973a809294cbcdfc5053ccd4de50f614513a4 (patch)
treefa1d002d0dc6bb6533143455219b25a8f74f193a /config/chroot_local-includes
parentc1eb31700738c8bdee664d28b420cd0e9e8ef264 (diff)
downloadkanotix-b4b973a809294cbcdfc5053ccd4de50f614513a4.zip
kanotix-b4b973a809294cbcdfc5053ccd4de50f614513a4.tar.gz
persistence-fix
Diffstat (limited to 'config/chroot_local-includes')
-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
;;
*)