mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-24 03:44:55 +00:00
Changed power up sleep time to fix power up issue on reconnect scripts
This commit is contained in:
parent
b53f7ffcbf
commit
763b8c6802
@ -23,7 +23,7 @@ function power_up_module()
|
|||||||
gpio -g write $POWERKEY 1
|
gpio -g write $POWERKEY 1
|
||||||
sleep 2
|
sleep 2
|
||||||
gpio -g write $POWERKEY 0
|
gpio -g write $POWERKEY 0
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
||||||
debug "Module is powered up."
|
debug "Module is powered up."
|
||||||
|
@ -24,7 +24,7 @@ function power_up_module()
|
|||||||
gpio -g write $POWERKEY 1
|
gpio -g write $POWERKEY 1
|
||||||
sleep 2
|
sleep 2
|
||||||
gpio -g write $POWERKEY 0
|
gpio -g write $POWERKEY 0
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
||||||
debug "Module is powered up."
|
debug "Module is powered up."
|
||||||
|
@ -24,7 +24,7 @@ function power_up_module()
|
|||||||
gpio -g write $POWERKEY 1
|
gpio -g write $POWERKEY 1
|
||||||
sleep 2
|
sleep 2
|
||||||
gpio -g write $POWERKEY 0
|
gpio -g write $POWERKEY 0
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
||||||
debug "Module is powered up."
|
debug "Module is powered up."
|
||||||
|
@ -24,7 +24,7 @@ function power_up_module()
|
|||||||
gpio -g write $POWERKEY 1
|
gpio -g write $POWERKEY 1
|
||||||
sleep 2
|
sleep 2
|
||||||
gpio -g write $POWERKEY 0
|
gpio -g write $POWERKEY 0
|
||||||
sleep 2
|
sleep 5
|
||||||
|
|
||||||
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
if [[ $(gpio -g read $STATUS) -eq 0 ]]; then
|
||||||
debug "Module is powered up."
|
debug "Module is powered up."
|
||||||
|
Loading…
Reference in New Issue
Block a user