#!/bin/bash # # cp control6/Thermy.c control6/Thermy.c_old_$(date +%s) && make clean && make && cp -v ethersex.hex /mnt/md0_sonnenschein/temp/ethersex_10.40.1.31.hex && echo "bootloader" | socat stdio tcp4:10.40.1.31:2701 ../zbusloader/contrib/zbusloader -H 10.0.0.94 -f ethersex.bin && make && sleep 10 && date +"time "%s | socat stdio tcp4:10.40.1.31:2701