limit signal check

This commit is contained in:
john30
2017-08-27 14:02:29 +02:00
parent 932d27f3f2
commit c89b3b555f
+2 -1
View File
@@ -307,7 +307,8 @@ w -h fe070400
nocommand nocommand
EOF EOF
status=1 status=1
while [ ! "$status" = 0 ]; do cnt=3
while [ ! "$status" = 0 ] && [ $cnt -gt 0]; do
sleep 5 sleep 5
echo `date` "check signal" echo `date` "check signal"
./src/tools/ebusctl -p 8877 state | egrep -q "signal acquired" ./src/tools/ebusctl -p 8877 state | egrep -q "signal acquired"