mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Update "Automatically update grub" section
Update "Automatically update grub" section. Correct a mistake.
This commit is contained in:
@@ -153,7 +153,7 @@ You have the possibility to modify many parameters in `/etc/default/grub-btrfs/c
|
|||||||
##
|
##
|
||||||
### Automatically update grub
|
### Automatically update grub
|
||||||
If you would like Grub to automatically update when a snapshot is made or deleted:
|
If you would like Grub to automatically update when a snapshot is made or deleted:
|
||||||
* Use `systemctl start/enable grub-btrfs.path`
|
* Use `systemctl start/enable grub-btrfs.path`.
|
||||||
* `grub-btrfs.path` automatically (re)generates `grub.cfg` when a modification appears in `/.snapshots` folder (by default).
|
* `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`.
|
* If your snapshots aren't mounted in `/.snapshots`, you must modify the watch folder using `systemctl edit grub-btrfs.path`.
|
||||||
|
|
||||||
@@ -163,11 +163,11 @@ If you would like Grub to automatically update when a snapshot is made or delete
|
|||||||
Then wrote:
|
Then wrote:
|
||||||
```
|
```
|
||||||
[Path]
|
[Path]
|
||||||
PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots`
|
PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots
|
||||||
```
|
```
|
||||||
and finally save.
|
and finally save.
|
||||||
* You can view your change to `systemctl cat grub-btrfs.path`
|
* You can view your change to `systemctl cat grub-btrfs.path`.
|
||||||
* To revert change use `systemctl revert grub-btrfs.path`
|
* To revert change use `systemctl revert grub-btrfs.path`.
|
||||||
##
|
##
|
||||||
### Special thanks for assistance and contributions
|
### Special thanks for assistance and contributions
|
||||||
* [maximbaz](https://github.com/maximbaz)
|
* [maximbaz](https://github.com/maximbaz)
|
||||||
|
|||||||
Reference in New Issue
Block a user