-I ppp0 added for control

This commit is contained in:
saeedjohar
2019-03-22 12:21:29 +03:00
parent 4fb08f1845
commit 67b659154c
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ while true; do
gpio -g write 26 0
sleep 2
else
ping -c 1 8.8.8.8
ping -I ppp0 -c 1 8.8.8.8
if [ $? -eq 0 ]; then
echo "Connection up, reconnect not required..."