From 5dcf8987077190f2628f024ff08a07ceb9508f4e Mon Sep 17 00:00:00 2001 From: goodtft Date: Tue, 20 Mar 2018 20:45:57 +0800 Subject: [PATCH] Update LCD35-show --- LCD35-show | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LCD35-show b/LCD35-show index b5213e8..42ec199 100644 --- a/LCD35-show +++ b/LCD35-show @@ -4,7 +4,11 @@ sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/ sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/tft35a.dtbo sudo cp -rf ./usr/99-calibration.conf-35 /etc/X11/xorg.conf.d/99-calibration.conf sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +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 cp ./boot/config-35.txt /boot/config.txt nodeplatform=`uname -n`