From 42c2f13e6133cf8fe92e044018f19d01a76c04b4 Mon Sep 17 00:00:00 2001 From: goodtft Date: Sat, 29 Jun 2019 17:02:09 +0800 Subject: [PATCH] Update LCD28-show --- LCD28-show | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LCD28-show b/LCD28-show index f013b1a..d2bb23b 100644 --- a/LCD28-show +++ b/LCD28-show @@ -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"