Actions: 1. EVSE/rootfs/usr/bin/check_tmate.sh id get from /etc/hostname Files: 1. As follow commit history Image version: D0.00.XX.XXXX.XX Image checksum: XXXXXXXX Hardware PWB P/N : XXXXXXX Hardware Version : XXXXXXX
@@ -15,7 +15,7 @@ if [ $ppid > 0 ]; then
fi
else
addr=`/usr/bin/run_tmate.sh`
- id=CSU3_$(cat /sys/class/net/eth0/address)
+ id=CSU3_$(cat /etc/hostname)
`/usr/bin/timeout -t 20 /usr/bin/wget --spider evsocket.phihong.com.tw:8998/tmate_update.php?chargerID=$id\&tmateAddr=${addr:4}`
if [ $? -eq 0 ] && [ ${#addr} -ge 10 ]; then