#!/bin/bash


/sbin/ifup wlan0
sleep 60


MY_PATH="`dirname \"$0\"`"
MY_PATH="`( cd \"$MY_PATH\" && pwd )`"
cd $MY_PATH
cd ..

git pull
make

rsync ./data/solarpi.csv rsync://192.168.178.36/data/solarpi

/sbin/ifdown wlan0 

#!/bin/bash


/sbin/ifup wlan0
sleep 60


MY_PATH="`dirname \"$0\"`"
MY_PATH="`( cd \"$MY_PATH\" && pwd )`"
cd $MY_PATH
cd ..

#git pull
#make

rsync -z ./data/solarpi.csv rsync://192.168.178.36/data/solarpi

/sbin/ifdown wlan0 

Use zlib compression on rsync, disable git.
Use zlib compression on rsync, disable git.
