mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-11 00:45:29 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52ab9dbe95 | ||
|
|
28e9524ca5 |
@@ -4,7 +4,7 @@
|
|||||||
#################################################################################################################################################
|
#################################################################################################################################################
|
||||||
# Written by: Antynea #
|
# 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: #
|
# What this script does: #
|
||||||
# - Automatically List snapshots existing on root partition (btrfs). #
|
# - Automatically List snapshots existing on root partition (btrfs). #
|
||||||
@@ -140,7 +140,7 @@ snapshots_entry()
|
|||||||
if [ -f "$(boot_dir)"/"${u}" ] ; then
|
if [ -f "$(boot_dir)"/"${u}" ] ; then
|
||||||
echo "\
|
echo "\
|
||||||
echo 'Loading Microcode & Initramfs: "${u}" "${i}" ...'
|
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
|
else
|
||||||
echo "\
|
echo "\
|
||||||
echo 'Loading Initramfs: "${i}" ...'
|
echo 'Loading Initramfs: "${i}" ...'
|
||||||
|
|||||||
Reference in New Issue
Block a user