mirror of
https://github.com/goodtft/LCD-show.git
synced 2024-11-29 02:24:12 +01:00
Update LCD7C-show
Update LCD7C-show install shell for screen rotate
This commit is contained in:
parent
a93e4bc628
commit
a890a305f8
12
LCD7C-show
12
LCD7C-show
@ -1,13 +1,4 @@
|
||||
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`
|
||||
kernel=`uname -r`
|
||||
@ -28,5 +19,6 @@ else
|
||||
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user