From ef778b7fb126fb12e11f5a9246f33f0d46705a90 Mon Sep 17 00:00:00 2001 From: Antynea Date: Thu, 18 Feb 2021 21:01:37 +0100 Subject: [PATCH] Readme: Add a new paragraph in `Automatically update grub` Readme: Add a new paragraph in `Automatically update grub` * Add information to be able to update the `grub-btrfs` menu every time the system is restart/shutdown. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bb1f58..a519cf6 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ See [config file](https://github.com/Antynea/grub-btrfs/blob/master/config) for ## ### Automatically update grub -If you would like grub-btrfs menu to automatically update when a snapshot is created or deleted: +1- If you would like grub-btrfs menu to automatically update when a snapshot is created or deleted: * Use `systemctl enable grub-btrfs.path`. * `grub-btrfs.path` automatically (re)generates `grub-btrfs.cfg` when a modification appears in `/.snapshots` mount point (by default). * If the `/.snapshots` mount point is already mounted, then use `systemctl start grub-btrfs.path` to start monitoring. @@ -87,6 +87,10 @@ use `systemctl list-units -t mount`. Otherwise, the unit will automatically start monitoring when the mount point will be available. * You can view your change to `systemctl cat grub-btrfs.path`. * To revert change use `systemctl revert grub-btrfs.path`. + +2- If you would like grub-btrfs menu to automatically update on system restart/shutdown: +[Look at this comment](https://github.com/Antynea/grub-btrfs/issues/138#issuecomment-766918328) +Currently not implemented ##### Warning : by default, `grub-mkconfig` command is used. Might be `grub2-mkconfig` on some systems (Fedora ...).