BG96 configuration removed

This commit is contained in:
saeedjohar 2020-10-21 18:02:46 +03:00
parent 770082fb07
commit 35fddb961f

View File

@ -64,22 +64,7 @@ if [ $? -ne 0 ]; then
echo "${RED}Download failed${SET}"
exit 1;
fi
#' # not required an more.
#while [ 1 ]
#do
# echo "${YELLOW}Do you have updated kernel? [Y/n] ${SET}"
# read kernelUpdate
# case $kernelUpdate in
# [Yy]* ) break;;
# [Nn]* ) echo "${YELLOW}rpi-update${SET}"
# rpi-update
# break;;
# *) echo "${RED}Wrong Selection, Select among Y or n${SET}";;
# esac
#done
#'
echo "${YELLOW}ppp and wiringpi (gpio tool) install${SET}"
apt-get install ppp wiringpi
@ -115,11 +100,8 @@ echo "${YELLOW}What is your device communication PORT? (ttyS0/ttyUSB3/etc.)${SET
read devicename
mkdir -p /etc/chatscripts
if [ $shield_hat -eq 3 ] || [ $shield_hat -eq 4 ]; then
sed -i "s/#EXTRA/$EXTRA/" chat-connect
else
sed -i "/#EXTRA/d" chat-connect
fi
sed -i "/#EXTRA/d" chat-connect
mv chat-connect /etc/chatscripts/
mv chat-disconnect /etc/chatscripts/