From 7842666831ab1c2d538104525cf3921fbde002ea Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 26 Aug 2018 19:22:19 +0200 Subject: [PATCH] grub-fix --- snapshot.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snapshot.sh b/snapshot.sh index 852b91c..79ed9c7 100755 --- a/snapshot.sh +++ b/snapshot.sh @@ -44,11 +44,11 @@ if [ "make" == "$1" ]; then #stable-snapshot-boot if [ -f "/boot/arch-uefi.conf.example" ] && [ "${rootsnapshot}" == "y" ]; then - cp "$(echo $(find /boot/ -name "initramfs*$(uname -m).img") | cut -d" " -f2)" /boot/initramfs-linux-stable.img - cp "$(echo $(find /boot/ -name "vmlinuz*$(uname -m)") | cut -d" " -f2)" /boot/vmlinuz-stable + cp "$(echo $(find /boot/ -name "initramfs*$(uname -m).img") | cut -d" " -f2)" /boot/initramfs-linux-1.00-$(uname -m).img + cp "$(echo $(find /boot/ -name "vmlinuz*$(uname -m)") | cut -d" " -f2)" /boot/vmlinuz-1.00-$(uname -m) - kernel1="$(echo $(find /boot/ -name "initramfs*-stable.img") | cut -d" " -f2)" - linuz1="$(find /boot/ -name "vmlinuz*-stable")" + kernel1="$(echo $(find /boot/ -name "initramfs*-1.00-$(uname -m).img") | cut -d" " -f2)" + linuz1="$(find /boot/ -name "vmlinuz*-1.00-$(uname -m)")" kernel="${kernel1#/*/}" linuz="${linuz1#/*/}"