diff --git a/MPI4008-show b/MPI4008-show index 00909d8..b99bb17 100644 --- a/MPI4008-show +++ b/MPI4008-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"