From d20439554e0f28a7d5183dcc88f4d95450948186 Mon Sep 17 00:00:00 2001 From: Antynea Date: Mon, 28 Sep 2020 00:54:45 +0200 Subject: [PATCH] Update "Automatically update grub" section Update "Automatically update grub" section. Trying to make it more understandable. --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 654fefb..9655836 100644 --- a/README.md +++ b/README.md @@ -153,21 +153,21 @@ You have the possibility to modify many parameters in `/etc/default/grub-btrfs/c ## ### Automatically update grub If you would like Grub to automatically update when a snapshot is made or deleted: -* Mount your subvolume which contains snapshots to `/.snapshots` * Use `systemctl start/enable grub-btrfs.path` -* `grub-btrfs.path` automatically (re)generates `grub.cfg` when a modification appears in `/.snapshots` -* For timeshift users, use this command: - `systemctl edit grub-btrfs.path` +* `grub-btrfs.path` automatically (re)generates `grub.cfg` when a modification appears in `/.snapshots` folder (by default). +* If your snapshots aren't mounted in `/.snapshots`, you must modify the watch folder using `systemctl edit grub-btrfs.path`. - * Then wrote: - ``` - [Path] - PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots - ``` - + * For example: Timeshift mount its snapshots in `/run/timeshift/backup/timeshift-btrfs/snapshots` folder. + + Use `systemctl edit grub-btrfs.path`. + Then wrote: + ``` + [Path] + PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots` + ``` and finally save. - * You can view your change to `systemctl cat grub-btrfs.path` + * To revert change use `systemctl revert grub-btrfs.path` ## ### Special thanks for assistance and contributions * [maximbaz](https://github.com/maximbaz)