diff options
author | pks <pks@pks.rocks> | 2021-05-10 13:23:21 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-05-10 13:23:21 +0200 |
commit | 281fa36a24f81d87543a7791252954414e161565 (patch) | |
tree | ab45e491aa93924f7310303913f2df2d3f3b069f /v1/get-temps.rb.bak | |
parent | 69e11599c2194187e1c172ebe6b7b51945a7f306 (diff) |
rm v0 v1
Diffstat (limited to 'v1/get-temps.rb.bak')
-rwxr-xr-x | v1/get-temps.rb.bak | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/v1/get-temps.rb.bak b/v1/get-temps.rb.bak deleted file mode 100755 index ac24051..0000000 --- a/v1/get-temps.rb.bak +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env ruby - -while line = STDIN.gets - a = line.split - d = {} - a.each { |i| - name, val = i.split("::") - if name == "temperature" - d["temperature"] = val - end - if name == "device_id" - d["dev"] = val - end - } - puts d.to_s -end |