Use sed to edit fstab

This commit is contained in:
Le0xFF 2022-07-30 19:41:38 +02:00
parent 36f769c939
commit 52e296bee2

View File

@ -146,7 +146,7 @@ So after installing `snapper` from Void Linux's repositories and after creating
snapper -c root create-config /
btrfs subvolume delete /.snapshots
mkdir /.snapshots
## edit /etc/fstab uncommenting the line relative to @snapshots subvolume ##
sed -i '/@snapshots/s/^#//' /etc/fstab
reboot
```