fixed reboot indicator

This commit is contained in:
2024-11-01 21:16:35 +01:00
parent d1c92c5439
commit 3eda63e607

View File

@@ -2,7 +2,7 @@
RUNNING_VERSION="$(uname -r | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*')" RUNNING_VERSION="$(uname -r | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*')"
INSTALLED_VERSION="$(find /boot -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -r | head -1)" INSTALLED_VERSION="$(find /boot -maxdepth 0 -name 'vmlinuz*' | grep -o '[0-9]*\.[0-9]*\.[0-9]*-[0-9]*' | sort -r | head -1)"
#echo $RUNNING_VERSION #echo $RUNNING_VERSION
#echo $INSTALLED_VERSION #echo $INSTALLED_VERSION