mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-24 03:44:55 +00:00
added APN config for configure_modem.sh to install.sh
This commit is contained in:
parent
cb81caf18f
commit
b53f7ffcbf
@ -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
|
||||
|
||||
@ -224,6 +226,7 @@ do
|
||||
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
|
||||
|
||||
wget --no-check-certificate $SCRIPT_PATH/reconnect_baseshield -O $RECONNECT_SCRIPT_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user