Update LCD7C-show

Update LCD7C-show install shell for screen rotate
This commit is contained in:
goodtft 2018-03-27 21:13:14 +08:00 committed by GitHub
parent a93e4bc628
commit a890a305f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,4 @@
sudo cp -rf ./boot/config-7C-1024x600.txt /boot/config.txt sudo cp -rf ./boot/config-7C-1024x600.txt /boot/config.txt
if [ -b /dev/mmcblk0p7 ]; then
sudo cp ./usr/cmdline.txt-noobs /boot/cmdline.txt
else
sudo cp ./usr/cmdline.txt /boot/
fi
sudo cp ./usr/inittab /etc/
sudo mkdir /etc/X11/xorg.conf.d
sudo cp -rf ./usr/99-calibration.conf-HDMI7C /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
nodeplatform=`uname -n` nodeplatform=`uname -n`
kernel=`uname -r` kernel=`uname -r`
@ -28,5 +19,6 @@ else
echo "install xserver-xorg-input-evdev_1%3a2.10.3-1" echo "install xserver-xorg-input-evdev_1%3a2.10.3-1"
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
fi fi
sudo mkdir /etc/X11/xorg.conf.d
sudo cp ./usr/40-libinput.conf-HDMI7C /etc/X11/xorg.conf.d/40-libinput.conf
sudo reboot sudo reboot