diff options
Diffstat (limited to 'config/binary_grub')
-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}" |