From 66a06be1981e73c49d1526d3dab542e436c41ca1 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Fri, 6 Apr 2018 02:52:54 +0200 Subject: [PATCH] Set default value of GRUB_BTRFS_LIMIT to 50 --- 41_snapshots-btrfs | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index 9ff148f..b3201ef 100755 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -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 diff --git a/README.md b/README.md index bb9a246..279254a 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Add this lines to /etc/default/grub: (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.)