From b53f7ffcbf7899f9638ee607ca276d0144a1b431 Mon Sep 17 00:00:00 2001 From: Yasin Kaya Date: Thu, 26 Nov 2020 11:20:04 +0000 Subject: [PATCH] added APN config for configure_modem.sh to install.sh --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index f3d61fe..7937b01 100755 --- a/install.sh +++ b/install.sh @@ -214,6 +214,8 @@ do wget --no-check-certificate $SOURCE_PATH/$MANAGER_SCRIPT_NAME if [[ $? -ne 0 ]]; then colored_echo "Download failed" ${RED}; exit 1; fi + # APN Configuration + sed -i "s/SIM_APN/$carrierapn/" configure_modem.sh if [ $shield_hat -eq 1 ]; then @@ -223,6 +225,7 @@ do sed -i "s/STATUS_PIN/$STATUS_GPRS/" configure_modem.sh sed -i "s/POWERKEY_PIN/$POWERKEY_GPRS/" configure_modem.sh sed -i "s/POWERUP_FLAG/$POWERUP_REQ/" configure_modem.sh + elif [ $shield_hat -eq 2 ]; then