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