Skip to content

Commit

Permalink
Set default value of GRUB_BTRFS_LIMIT to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Apr 6, 2018
1 parent c44eda0 commit 66a06be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -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"). #
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.)

Expand Down

0 comments on commit 66a06be

Please sign in to comment.