Changes

Jump to navigation Jump to search
no edit summary
Line 17: Line 17:  
BARO=$(cat /tmp/test.txt|grep Press|cut -d":" -f2|cut -d"h" -f1)
 
BARO=$(cat /tmp/test.txt|grep Press|cut -d":" -f2|cut -d"h" -f1)
 
echo "$date;$TEMP;$BARO ;$HUM" >> /usbdisk/weatherdata.csv # create easy csv data file
 
echo "$date;$TEMP;$BARO ;$HUM" >> /usbdisk/weatherdata.csv # create easy csv data file
 +
exit 0
 
</pre>
 
</pre>
  

Navigation menu