From a61f967cb7a8bb305a154fecc737321ea63e92d6 Mon Sep 17 00:00:00 2001 From: goodtft Date: Tue, 20 Mar 2018 20:49:32 +0800 Subject: [PATCH] Update MPI3508_810_540-show --- MPI3508_810_540-show | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MPI3508_810_540-show b/MPI3508_810_540-show index 5252549..1536e79 100644 --- a/MPI3508_810_540-show +++ b/MPI3508_810_540-show @@ -1,6 +1,10 @@ #!/bin/bash sudo cp -rf ./boot/config-35-810X540.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