From 28e9524ca578dee59f67707fb18e4b11184dbfef Mon Sep 17 00:00:00 2001 From: Antynea Date: Mon, 8 Feb 2016 00:01:42 +0100 Subject: [PATCH] fix: incorrect detection "$boot_dir_real_path" for initramfs --- 41_snapshots-btrfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index b9b6b37..8db1fb2 100644 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -4,7 +4,7 @@ ################################################################################################################################################# # Written by: Antynea # # # -# Purpose: Include btrfs snapshots at boot options (grub-menu). # +# Purpose: Include btrfs snapshots at boot options (grub-menu). # # # # What this script does: # # - Automatically List snapshots existing on root partition (btrfs). # @@ -140,7 +140,7 @@ snapshots_entry() if [ -f "$(boot_dir)"/"${u}" ] ; then echo "\ echo 'Loading Microcode & Initramfs: "${u}" "${i}" ...' - initrd \"${boot_dir_real_path}/"${u}"\" \"/"${snap_dir_name}"/boot/"${i}"\"" + initrd \"${boot_dir_real_path}/"${u}"\" \"${boot_dir_real_path}/"${i}"\"" else echo "\ echo 'Loading Initramfs: "${i}" ...'