mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-22 02:54:53 +00:00
repo branch changed in install.sh
This commit is contained in:
parent
36dc0e62a3
commit
105e9f8f68
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ RED='\033[0;31m'
|
|||||||
BLUE='\033[1;34m'
|
BLUE='\033[1;34m'
|
||||||
SET='\033[0m'
|
SET='\033[0m'
|
||||||
|
|
||||||
|
REPO=revision
|
||||||
|
|
||||||
function colored_echo
|
function colored_echo
|
||||||
{
|
{
|
||||||
COLOR=${2:-$YELLOW}
|
COLOR=${2:-$YELLOW}
|
||||||
@ -33,21 +35,21 @@ case $shield_hat in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
colored_echo "Downloading setup files..."
|
colored_echo "Downloading setup files..."
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/chat-connect -O chat-connect
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/chat-connect -O chat-connect
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
colored_echo "Download failed" ${RED}
|
colored_echo "Download failed" ${RED}
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/chat-disconnect -O chat-disconnect
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/chat-disconnect -O chat-disconnect
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
colored_echo "Download failed" ${RED}
|
colored_echo "Download failed" ${RED}
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/provider -O provider
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/provider -O provider
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
colored_echo "Download failed" ${RED}
|
colored_echo "Download failed" ${RED}
|
||||||
@ -116,31 +118,31 @@ do
|
|||||||
case $auto_reconnect in
|
case $auto_reconnect in
|
||||||
[Yy]* ) colored_echo "Downloading setup file..."
|
[Yy]* ) colored_echo "Downloading setup file..."
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/reconnect_service -O reconnect.service
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/reconnect_service -O reconnect.service
|
||||||
|
|
||||||
if [ $shield_hat -eq 1 ]; then
|
if [ $shield_hat -eq 1 ]; then
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/reconnect_gprsshield -O reconnect.sh
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/reconnect_gprsshield -O reconnect.sh
|
||||||
|
|
||||||
elif [ $shield_hat -eq 2 ]; then
|
elif [ $shield_hat -eq 2 ]; then
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/reconnect_baseshield -O reconnect.sh
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/reconnect_baseshield -O reconnect.sh
|
||||||
|
|
||||||
elif [ $shield_hat -eq 3 ]; then
|
elif [ $shield_hat -eq 3 ]; then
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/reconnect_cellulariot_app -O reconnect.sh
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/reconnect_cellulariot_app -O reconnect.sh
|
||||||
|
|
||||||
elif [ $shield_hat -eq 4 ]; then
|
elif [ $shield_hat -eq 4 ]; then
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/reconnect_cellulariot -O reconnect.sh
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/reconnect_cellulariot -O reconnect.sh
|
||||||
|
|
||||||
elif [ $shield_hat -eq 5 ]; then
|
elif [ $shield_hat -eq 5 ]; then
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/reconnect_tracker -O reconnect.sh
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/reconnect_tracker -O reconnect.sh
|
||||||
|
|
||||||
elif [ $shield_hat -eq 6 ]; then
|
elif [ $shield_hat -eq 6 ]; then
|
||||||
|
|
||||||
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/master/ppp_installer/reconnect_basehat -O reconnect.sh
|
wget --no-check-certificate https://raw.githubusercontent.com/sixfab/Sixfab_PPP_Installer/$REPO/ppp_installer/reconnect_basehat -O reconnect.sh
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source functions.sh
|
source functions.sh
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
2
ppp_installer/reconnect_baseshield
Normal file → Executable file
2
ppp_installer/reconnect_baseshield
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source functions.sh
|
source functions.sh
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source functions.sh
|
source functions.sh
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source functions.sh
|
source functions.sh
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source functions.sh
|
source functions.sh
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source functions.sh
|
source functions.sh
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/bash
|
||||||
|
|
||||||
source functions.sh
|
source functions.sh
|
||||||
source configs.sh
|
source configs.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user