Update MHS24-show

This commit is contained in:
goodtft 2019-06-29 17:07:50 +08:00 committed by GitHub
parent 4d26effc5c
commit f1fd0a930d
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"