Skip to content
Snippets Groups Projects
Commit 8ca13372 authored by Canek Peláez Valdés's avatar Canek Peláez Valdés :slight_smile:
Browse files

Sleep at start of cycle.

parent 05c6056d
Branches
Tags
No related merge requests found
...@@ -49,6 +49,7 @@ fi ...@@ -49,6 +49,7 @@ fi
# This is a daemon # This is a daemon
while true; do while true; do
sleep 1
CONN=$(connectivity) CONN=$(connectivity)
if [ "${CONN}" != "full" ]; then if [ "${CONN}" != "full" ]; then
continue continue
...@@ -57,5 +58,4 @@ while true; do ...@@ -57,5 +58,4 @@ while true; do
if [ "${STATUS}" != "activated" ]; then if [ "${STATUS}" != "activated" ]; then
up "${VPN_UUID}" up "${VPN_UUID}"
fi fi
sleep 1
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment