1
0
mirror of https://github.com/sixfab/Sixfab_PPP_Installer synced 2025-04-16 00:53:45 +00:00

Added reset power and power up steps to conneciton recovery sequence

This commit is contained in:
Yasin Kaya 2020-11-26 14:39:54 +00:00
parent ed281a616e
commit 44f62e6c22
3 changed files with 7 additions and 1 deletions

@ -86,7 +86,9 @@ while true; do
if [[ $PINGG -eq 0 ]]; then
printf "+"
else
debug "Connection is down, reconnecting..."
debug "Connection is down, reconnecting..."
restart_power
if power_up_module -eq 0 ; then sleep 0.1; else debug "Module couldn't be powered up! Check the hardware setup!"; fi
if check_network -eq 0; then sleep 0.1; else debug "Network registeration is failed!"; fi
sudo pon

@ -87,6 +87,8 @@ while true; do
printf "+"
else
debug "Connection is down, reconnecting..."
restart_power
if power_up_module -eq 0 ; then sleep 0.1; else debug "Module couldn't be powered up! Check the hardware setup!"; fi
if check_network -eq 0; then sleep 0.1; else debug "Network registeration is failed!"; fi
sudo pon

@ -87,6 +87,8 @@ while true; do
printf "+"
else
debug "Connection is down, reconnecting..."
restart_power
if power_up_module -eq 0 ; then sleep 0.1; else debug "Module couldn't be powered up! Check the hardware setup!"; fi
if check_network -eq 0; then sleep 0.1; else debug "Network registeration is failed!"; fi
sudo pon