mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Set default value of GRUB_BTRFS_LIMIT to 50
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
# (Show full path snapshot or only name in the Grub menu) #
|
||||
# * GRUB_BTRFS_TITLE_FORMAT="p/d/n" #
|
||||
# (Custom title, shows/hides p"prefix" d"date" n"name" in the Grub menu, separator "/", custom order available) #
|
||||
# * GRUB_BTRFS_LIMIT="100" #
|
||||
# * GRUB_BTRFS_LIMIT="50" #
|
||||
# (Limit the number of snapshots populated in the GRUB menu.) #
|
||||
# * GRUB_BTRFS_SUBVOLUME_SORT="descending" #
|
||||
# (Sort the found subvolumes by newest first ("descending") or oldest first ("ascending"). #
|
||||
@@ -90,7 +90,7 @@ ninit=("${GRUB_BTRFS_NINIT[@]}")
|
||||
## Microcode(s) name(s)
|
||||
microcode=("${GRUB_BTRFS_INTEL_UCODE[@]}")
|
||||
## Limit to show in the Grub menu
|
||||
limit_snap_show="${GRUB_BTRFS_LIMIT:-100}"
|
||||
limit_snap_show="${GRUB_BTRFS_LIMIT:-50}"
|
||||
## How to sort snapshots list
|
||||
snap_list_sort=${GRUB_BTRFS_SUBVOLUME_SORT:-"descending"}
|
||||
case "${snap_list_sort}" in
|
||||
|
||||
Reference in New Issue
Block a user