From 7287ab91ce2cfb4dbdac39431fa8f2d5250fac47 Mon Sep 17 00:00:00 2001 From: goodtft Date: Tue, 20 Mar 2018 20:47:34 +0800 Subject: [PATCH] Update LCD5-show --- LCD5-show | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LCD5-show b/LCD5-show index 1ae9556..317b705 100644 --- a/LCD5-show +++ b/LCD5-show @@ -1,6 +1,10 @@ #!/bin/bash sudo cp -rf ./boot/config-5.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 cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf sudo mkdir /etc/X11/xorg.conf.d