From 19c73d44634e791e6c5f7b5028fa200f0ff2dd00 Mon Sep 17 00:00:00 2001 From: goodtft Date: Tue, 20 Mar 2018 20:45:38 +0800 Subject: [PATCH] Update LCD32-show --- LCD32-show | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LCD32-show b/LCD32-show index 1d3d330..cd33a0f 100644 --- a/LCD32-show +++ b/LCD32-show @@ -4,7 +4,11 @@ sudo cp ./usr/tft9341-overlay.dtb /boot/overlays/ sudo cp ./usr/tft9341-overlay.dtb /boot/overlays/tft9341.dtbo sudo cp -rf ./usr/99-calibration.conf-32 /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-32.txt /boot/config.txt nodeplatform=`uname -n`