diff --git a/MPI3510-show b/MPI3510-show index 2ce75b7..a73275f 100644 --- a/MPI3510-show +++ b/MPI3510-show @@ -14,10 +14,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"