diff options
| author | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-05 00:43:52 +0100 | 
|---|---|---|
| committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-05 00:43:52 +0100 | 
| commit | f0baac5a799c6b8fa598f9336e136f2bdeace318 (patch) | |
| tree | 5f03593710e0e16b136f636dc4779681ed7a657f | |
| parent | e773cc08805c6e4081212ccc6a7c7123644833ac (diff) | |
| download | kanotix-f0baac5a799c6b8fa598f9336e136f2bdeace318.zip kanotix-f0baac5a799c6b8fa598f9336e136f2bdeace318.tar.gz | |
"persistence" instead of "live-rw" label
| -rw-r--r-- | config/binary_grub/grub.cfg | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/config/binary_grub/grub.cfg b/config/binary_grub/grub.cfg index 1d3cd08..49e1045 100644 --- a/config/binary_grub/grub.cfg +++ b/config/binary_grub/grub.cfg @@ -34,9 +34,9 @@ insmod part_msdos  insmod btrfs  set persistence=0  if test -e ($root,msdos3) ; then -  if search --label --set liverw --no-floppy live-rw ($root,msdos3) ; then -    if test -e (${liverw})/grub.cmdline ; then -      source (${liverw})/grub.cmdline +  if search --label --set persistence --no-floppy persistence ($root,msdos3) ; then +    if test -e (${persistence})/grub.cmdline ; then +      source (${persistence})/grub.cmdline        insmod regexp        set lmp=live        regexp --set=lmp 'live-media-path=\([^ ]*\)' "${persistence_cmdline}" | 
