From eb60b4cd1728629b84cb93d6594edb61011d73cf Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 21 Jun 2018 14:45:41 +0200 Subject: [PATCH] fix --- snapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshot.sh b/snapshot.sh index d77a90f..a9d4c2b 100755 --- a/snapshot.sh +++ b/snapshot.sh @@ -56,7 +56,7 @@ if [ "make" == "$1" ]; then sed "s|%LINUZ%|${linuz}|g; s|%KERNEL%|${kernel}|g; -s|rootflags=subvol=__current/ROOT|rootflags=subvol=__snapshot/${pfad}@`head -n 1 /run/btrfs-root/__current/${pfad}/SNAPSHOT`|g" /boot/arch-uefi.conf.example > /boot/loader/entries/arch-uefi-stable.conf +s|rootflags=subvol=__current/ROOT|rootflags=subvol=__snapshot/ROOT@`head -n 1 /run/btrfs-root/__current/ROOT/SNAPSHOT`|g" /boot/arch-uefi.conf.example > /boot/loader/entries/arch-uefi-stable.conf if [ -f /run/btrfs-root/__current/ROOT/SNAPSHOT ]; then rm /run/btrfs-root/__current/ROOT/SNAPSHOT