From f1fd0a930dc09334807432757067d9e41012bc8a Mon Sep 17 00:00:00 2001 From: goodtft Date: Sat, 29 Jun 2019 17:07:50 +0800 Subject: [PATCH] Update MHS24-show --- MHS24-show | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MHS24-show b/MHS24-show index cbb9cd3..aa63fcb 100644 --- a/MHS24-show +++ b/MHS24-show @@ -28,10 +28,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"