Update LCD28-show

This commit is contained in:
goodtft 2019-06-29 17:02:09 +08:00 committed by GitHub
parent cb66de429b
commit 42c2f13e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,10 +17,10 @@ kernel=`uname -r`
version=`uname -v`
if test "$nodeplatform" = "raspberrypi";then
echo "this is raspberrypi kernel"
version=${version%% *}
version=${version#*#}
version=${version##* }
#version=${version#*#}
echo $version
if test $version -lt 970;then
if test $version -lt 2017;then
echo "reboot"
else
echo "need to update touch configuration"