diff options
author | Holger Paradies <retabell@gmx.de> | 2013-02-07 17:52:43 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-13 22:41:19 +0100 |
commit | b4b973a809294cbcdfc5053ccd4de50f614513a4 (patch) | |
tree | fa1d002d0dc6bb6533143455219b25a8f74f193a /config/chroot_local-includes/lib | |
parent | c1eb31700738c8bdee664d28b420cd0e9e8ef264 (diff) | |
download | kanotix-b4b973a809294cbcdfc5053ccd4de50f614513a4.zip kanotix-b4b973a809294cbcdfc5053ccd4de50f614513a4.tar.gz |
persistence-fix
Diffstat (limited to 'config/chroot_local-includes/lib')
-rwxr-xr-x | config/chroot_local-includes/lib/live/config/900-enable-persistent | 6 |
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 ;; *) |