delete Raspbian judgement
This commit is contained in:
+7
-7
@@ -40,11 +40,11 @@ sudo cp -rf ./usr/99-calibration.conf-397-270 /etc/X11/xorg.conf.d/99-calibratio
|
||||
sudo touch ./.have_installed
|
||||
echo "hdmi:resistance:397:270:480:800" > ./.have_installed
|
||||
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
#nodeplatform=`uname -n`
|
||||
#kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
#if test "$nodeplatform" = "raspberrypi";then
|
||||
#echo "this is raspberrypi kernel"
|
||||
version=${version##* }
|
||||
#version=${version#*#}
|
||||
echo $version
|
||||
@@ -60,9 +60,9 @@ grep -q "error:" ./error_output.txt && exit
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
#echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
#else
|
||||
#echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
#fi
|
||||
|
||||
sudo sync
|
||||
sudo sync
|
||||
|
||||
Reference in New Issue
Block a user