diff --git a/LCD24-3A+-show b/LCD24-3A+-show index ddd1dc9..82b3feb 100755 --- a/LCD24-3A+-show +++ b/LCD24-3A+-show @@ -34,11 +34,11 @@ sudo cp ./usr/inittab /etc/ sudo touch ./.have_installed echo "gpio:resistance:32:90:320:240" > ./.have_installed #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -54,9 +54,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/LCD24-show b/LCD24-show index 66b70c1..aea1bb1 100755 --- a/LCD24-show +++ b/LCD24-show @@ -34,11 +34,11 @@ sudo cp ./usr/inittab /etc/ sudo touch ./.have_installed echo "gpio:resistance:32:270:320:240" > ./.have_installed #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -54,9 +54,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/LCD28-show b/LCD28-show index 66b70c1..aea1bb1 100755 --- a/LCD28-show +++ b/LCD28-show @@ -34,11 +34,11 @@ sudo cp ./usr/inittab /etc/ sudo touch ./.have_installed echo "gpio:resistance:32:270:320:240" > ./.have_installed #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -54,9 +54,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/LCD32-show b/LCD32-show index 66b70c1..aea1bb1 100755 --- a/LCD32-show +++ b/LCD32-show @@ -34,11 +34,11 @@ sudo cp ./usr/inittab /etc/ sudo touch ./.have_installed echo "gpio:resistance:32:270:320:240" > ./.have_installed #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -54,9 +54,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/LCD35-show b/LCD35-show index 4112266..e91b98b 100755 --- a/LCD35-show +++ b/LCD35-show @@ -35,11 +35,11 @@ sudo cp ./usr/inittab /etc/ sudo touch ./.have_installed echo "gpio:resistance:35:90:480:320" > ./.have_installed #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -55,9 +55,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/LCD5-show b/LCD5-show index d7ddc0d..99aa565 100755 --- a/LCD5-show +++ b/LCD5-show @@ -37,11 +37,11 @@ fi sudo cp -rf ./usr/99-calibration.conf-5-0 /etc/X11/xorg.conf.d/99-calibration.conf sudo touch ./.have_installed echo "hdmi:resistance:5:0:800:480" > ./.have_installed -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -57,9 +57,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/MHS32-show b/MHS32-show index e189bd0..69f5a06 100755 --- a/MHS32-show +++ b/MHS32-show @@ -58,11 +58,11 @@ sudo install fbcp /usr/local/bin/fbcp cd - > /dev/null fi #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -78,9 +78,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/MHS35-show b/MHS35-show index 68b549f..ad387bb 100755 --- a/MHS35-show +++ b/MHS35-show @@ -60,11 +60,11 @@ sudo install fbcp /usr/local/bin/fbcp cd - > /dev/null fi #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -80,9 +80,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/MHS40-show b/MHS40-show index 7c516aa..5588cd0 100755 --- a/MHS40-show +++ b/MHS40-show @@ -58,11 +58,11 @@ sudo install fbcp /usr/local/bin/fbcp cd - > /dev/null fi #evdev install -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -78,9 +78,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/MPI3508-show b/MPI3508-show index 7128e5a..b292393 100755 --- a/MPI3508-show +++ b/MPI3508-show @@ -37,11 +37,11 @@ fi sudo cp -rf ./usr/99-calibration.conf-3508-0 /etc/X11/xorg.conf.d/99-calibration.conf sudo touch ./.have_installed echo "hdmi:resistance:3508:0:480:320" > ./.have_installed -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -57,9 +57,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync diff --git a/MPI4008-show b/MPI4008-show index 557aa95..38d7b6c 100755 --- a/MPI4008-show +++ b/MPI4008-show @@ -40,11 +40,11 @@ sudo cp -rf ./usr/99-calibration.conf-397-270 /etc/X11/xorg.conf.d/99-calibratio sudo touch ./.have_installed echo "hdmi:resistance:397:270:480:800" > ./.have_installed -nodeplatform=`uname -n` -kernel=`uname -r` +#nodeplatform=`uname -n` +#kernel=`uname -r` version=`uname -v` -if test "$nodeplatform" = "raspberrypi";then -echo "this is raspberrypi kernel" +#if test "$nodeplatform" = "raspberrypi";then +#echo "this is raspberrypi kernel" version=${version##* } #version=${version#*#} echo $version @@ -60,9 +60,9 @@ grep -q "error:" ./error_output.txt && exit sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf #echo "reboot" fi -else -echo "this is not raspberrypi kernel, no need to update touch configure, reboot" -fi +#else +#echo "this is not raspberrypi kernel, no need to update touch configure, reboot" +#fi sudo sync sudo sync