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"