Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LCD35-show #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions LCD35-show
Original file line number Diff line number Diff line change
Expand Up @@ -57,34 +57,34 @@ if test "$1" = "0" -o "$#" = "0";then
if test "$j" = "retropie"; then
sudo cp ./boot/config-35.txt-retropie /boot/config.txt
fi
echo "LCD configrue 0"
echo "LCD configure 0"
elif test "$1" = "lite" -a "$#" = "1" ;then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35 /usr/share/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-35.txt /boot/config.txt
echo "LCD configrue 0"
echo "LCD configure 0"
elif test "$1" = "90" -o "$2" = "90" ;then
if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then
sudo cp ./boot/config-35.txt-90-lite /boot/config.txt
else
sudo cp ./boot/config-35.txt-90 /boot/config.txt
fi
echo "LCD configrue 90"
echo "LCD configure 90"
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35-270 /usr/share/X11/xorg.conf.d/99-calibration.conf
elif test "$1" = "180" -o "$2" = "180" ;then
if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then
sudo cp ./boot/config-35.txt-180-lite /boot/config.txt
else
sudo cp ./boot/config-35.txt-180 /boot/config.txt
fi
echo "LCD configrue 180"
echo "LCD configure 180"
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35-180 /usr/share/X11/xorg.conf.d/99-calibration.conf
elif test "$1" = "270" -o "$2" = "270" ; then
if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then
sudo cp ./boot/config-35.txt-270-lite /boot/config.txt
else
sudo cp ./boot/config-35.txt-270 /boot/config.txt
fi
echo "LCD configrue 270"
echo "LCD configure 270"
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35-90 /usr/share/X11/xorg.conf.d/99-calibration.conf
fi

Expand Down