mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-08-24 01:03:15 +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) #
|
# (Show full path snapshot or only name in the Grub menu) #
|
||||||
# * GRUB_BTRFS_TITLE_FORMAT="p/d/n" #
|
# * 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) #
|
# (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.) #
|
# (Limit the number of snapshots populated in the GRUB menu.) #
|
||||||
# * GRUB_BTRFS_SUBVOLUME_SORT="descending" #
|
# * GRUB_BTRFS_SUBVOLUME_SORT="descending" #
|
||||||
# (Sort the found subvolumes by newest first ("descending") or oldest first ("ascending"). #
|
# (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(s) name(s)
|
||||||
microcode=("${GRUB_BTRFS_INTEL_UCODE[@]}")
|
microcode=("${GRUB_BTRFS_INTEL_UCODE[@]}")
|
||||||
## Limit to show in the Grub menu
|
## 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
|
## How to sort snapshots list
|
||||||
snap_list_sort=${GRUB_BTRFS_SUBVOLUME_SORT:-"descending"}
|
snap_list_sort=${GRUB_BTRFS_SUBVOLUME_SORT:-"descending"}
|
||||||
case "${snap_list_sort}" in
|
case "${snap_list_sort}" in
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ Add this lines to /etc/default/grub:
|
|||||||
|
|
||||||
(Use only if you have custom intel-ucode or auto-detect failed.)
|
(Use only if you have custom intel-ucode or auto-detect failed.)
|
||||||
|
|
||||||
* GRUB_BTRFS_LIMIT="100"
|
* GRUB_BTRFS_LIMIT="50"
|
||||||
|
|
||||||
(Limit the number of snapshots populated in the GRUB menu.)
|
(Limit the number of snapshots populated in the GRUB menu.)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user