aboutsummaryrefslogtreecommitdiffstats
path: root/hw/drive_twohop.sh
blob: 37d7a993589a7082f51ac2ae7c7473de61ffc1bd (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash
echo "START $(date +%T)"
cd /root/psp && source ./env.sh >/dev/null 2>&1
rm -f /tmp/am_usb*.lock
$PSP_PY work/atx_power.py cycle 18 >/dev/null 2>&1
cd /root/psp/hw
timeout 150 $PSP_PY /root/psp/hw/gcp_twohop.py 2>&1 | grep -E "TWOHOP|\*\*\*|only hop|other:|Traceback" | head -4
echo TWOHOP-DONE