Update MHS32-show

This commit is contained in:
goodtft 2019-06-29 17:06:19 +08:00 committed by GitHub
parent ec24a3fdd3
commit 87b22cb1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,10 +28,10 @@ kernel=`uname -r`
version=`uname -v` version=`uname -v`
if test "$nodeplatform" = "raspberrypi";then if test "$nodeplatform" = "raspberrypi";then
echo "this is raspberrypi kernel" echo "this is raspberrypi kernel"
version=${version%% *} version=${version##* }
version=${version#*#} #version=${version#*#}
echo $version echo $version
if test $version -lt 970;then if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"