mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Update Automatically update grub section
Timeshift use `/run/timeshift/backup/timeshift-btrfs/snapshots` mountpoint for its snapshots. Timeshift users must modify the monitoring path: ``` [Path] PathModified=/.snapshots ``` to ``` [Path] PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots ```
This commit is contained in:
12
README.md
12
README.md
@@ -156,6 +156,18 @@ If you would like Grub to automatically update when a snapshot is made or delete
|
||||
* 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`
|
||||
|
||||
* Then wrote:
|
||||
```
|
||||
[Path]
|
||||
PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots
|
||||
```
|
||||
|
||||
and finally save.
|
||||
|
||||
* You can view your change to `systemctl cat grub-btrfs.path`
|
||||
##
|
||||
### Special thanks for assistance and contributions
|
||||
* [maximbaz](https://github.com/maximbaz)
|
||||
|
||||
Reference in New Issue
Block a user