delete Raspbian judgement
This commit is contained in:
+7
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user