From f614082b5e7b9bf629a38ea1dd1dbb34a552bb4e Mon Sep 17 00:00:00 2001 From: goodtft Date: Tue, 20 Mar 2018 20:48:47 +0800 Subject: [PATCH] Update MPI3508_480_320-show --- MPI3508_480_320-show | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MPI3508_480_320-show b/MPI3508_480_320-show index e4af91f..c15d990 100644 --- a/MPI3508_480_320-show +++ b/MPI3508_480_320-show @@ -1,6 +1,10 @@ #!/bin/bash sudo cp -rf ./boot/config-35-480X320.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