From 059dfa7af1fb1f05909b39ca7679db9a33bb80ba Mon Sep 17 00:00:00 2001 From: Marcus Date: Wed, 3 May 2023 01:11:43 +0200 Subject: [PATCH] another stupidity --- rootdir/root/nanodesk-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/root/nanodesk-installer.sh b/rootdir/root/nanodesk-installer.sh index e74691c..6821a38 100755 --- a/rootdir/root/nanodesk-installer.sh +++ b/rootdir/root/nanodesk-installer.sh @@ -122,7 +122,7 @@ message "create tmp script for reinstalling grub and kernel" cat <<\EOF > /mnt/tmp/reinstall_kernel.sh DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND -KERNEL_VER="$(ls -1 /boot/|grep "vmlinuz-"|sed 's/vmlinuz-//'|sort -g|head -n +1)" +KERNEL_VER="$(uname -r)" #/usr/bin/apt --yes purge 'linux-image-*' 'grub-*' /usr/bin/apt --yes --reinstall install \ linux-image-amd64 \