syntaktische Fehler behoben
This commit is contained in:
parent
21cb7cf026
commit
e9a65fbbd6
@ -208,9 +208,16 @@ STATUS_CRITICAL=0
|
|||||||
STATUS_WARNING=0
|
STATUS_WARNING=0
|
||||||
STATUS_OK=0
|
STATUS_OK=0
|
||||||
|
|
||||||
|
for sensor in $SENSORS
|
||||||
|
do
|
||||||
|
echo
|
||||||
|
done
|
||||||
|
|
||||||
for wert in $($DIGITEMP_EXEC -c "$CONFIG_PATH" -a -o"%s;%R;%.0C;%.0F" -q)
|
for wert in $($DIGITEMP_EXEC -c "$CONFIG_PATH" -a -o"%s;%R;%.0C;%.0F" -q)
|
||||||
do
|
do
|
||||||
|
#Ausgabe aller Sensoren als Nummer und Hex
|
||||||
|
#grep "^ROM " .digitemprc | sed -e 's/ 0x/;/' -e 's/ROM //' -e 's/ 0x//g'
|
||||||
|
|
||||||
sensor_id=$(echo "$wert" | cut -d ";" -f 1)
|
sensor_id=$(echo "$wert" | cut -d ";" -f 1)
|
||||||
sensor_hex=$(echo "$wert" | cut -d ";" -f 2)
|
sensor_hex=$(echo "$wert" | cut -d ";" -f 2)
|
||||||
celsius=$(echo "$wert" | cut -d ";" -f 3)
|
celsius=$(echo "$wert" | cut -d ";" -f 3)
|
||||||
|
Loading…
Reference in New Issue
Block a user