From d4e81d8d6d152abe9cc618b3afeac8a6bdfefecf Mon Sep 17 00:00:00 2001 From: goodtft Date: Tue, 20 Mar 2018 20:40:58 +0800 Subject: [PATCH] Update MPI3508_600_400-show --- MPI3508_600_400-show | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MPI3508_600_400-show b/MPI3508_600_400-show index 4b05b19..6f04e03 100644 --- a/MPI3508_600_400-show +++ b/MPI3508_600_400-show @@ -1,6 +1,10 @@ #!/bin/bash sudo cp -rf ./boot/config-35-600X400.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 -p /etc/X11/xorg.conf.d