Fix power LED status indication

This commit is contained in:
Kumi 2019-03-08 15:21:18 +00:00
parent 50cf4d5634
commit 745fa3aa02

View file

@ -97,7 +97,8 @@ while [ $counter -lt 60 ]
/usr/sbin/openvpn /etc/openvpn/client.conf >/var/log/openvpn & /usr/sbin/openvpn /etc/openvpn/client.conf >/var/log/openvpn &
fi fi
fi fi
counter=$(( counter + 1 )) counter=$(( counter + 1 ))
powerled $(( counter % 2 ))
/bin/sleep 1 # Wait for a second before re-trying /bin/sleep 1 # Wait for a second before re-trying
done done