From 35fddb961f57bf0f8107cc7e5d63746c5a67630c Mon Sep 17 00:00:00 2001 From: saeedjohar Date: Wed, 21 Oct 2020 18:02:46 +0300 Subject: [PATCH] BG96 configuration removed --- ppp_installer/install.sh | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/ppp_installer/install.sh b/ppp_installer/install.sh index 5483f5f..02ce21a 100755 --- a/ppp_installer/install.sh +++ b/ppp_installer/install.sh @@ -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/