Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 50981109 authored by Robert Nelson's avatar Robert Nelson
Browse files

zz-uenv_txt: more checks


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent c3ec29fd
No related merge requests found
......@@ -11,7 +11,7 @@ if [ -f /boot/uEnv.txt ] ; then
fi
unset older_kernel
older_kernel=$(grep uname_r /boot/uEnv.txt | awk -F"=" '{print $2}')
older_kernel=$(grep uname_r /boot/uEnv.txt | awk -F"=" '{print $2}' || true)
if [ ! "x${older_kernel" = "x" ] ; then
if [ ! "x${older_kernel" = "x${version}" ] ; then
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment