#!/bin/sh DATA="$(ds18b20.py $1)" if [ x"$DATA" != x ] && [ "$DATA" != "ERROR" ]; then echo "$2($DATA*C)" > /dev/shm/metern$2.txt fi