print state on no signal
This commit is contained in:
+2
-1
@@ -354,7 +354,8 @@ while [[ ! "$status" = 0 ]] && [[ $cnt -gt 0 ]]; do
|
|||||||
cnt=$((cnt - 1))
|
cnt=$((cnt - 1))
|
||||||
done
|
done
|
||||||
if [ "$status" != 0 ]; then
|
if [ "$status" != 0 ]; then
|
||||||
echo `date` "unable to acquire signal"
|
echo `date` "unable to acquire signal, stete:"
|
||||||
|
./src/tools/ebusctl -p 8877 -t 10 state
|
||||||
kill $pid
|
kill $pid
|
||||||
kill $srvpid
|
kill $srvpid
|
||||||
echo `date` "ebusd log:"
|
echo `date` "ebusd log:"
|
||||||
|
|||||||
Reference in New Issue
Block a user