X-Git-Url: https://git.plutz.net/?p=rpi_small;a=blobdiff_plain;f=sensors%2Fhatch.sh;fp=sensors%2Fhatch.sh;h=0000000000000000000000000000000000000000;hp=6cf75605eb117b44ca364676335b782d260caa47;hb=5128e3aea975403e66f2bae7f78d0c4d8ba4f9cf;hpb=4d85c9e0c9e7cade8939e8aace1836a9275ab452 diff --git a/sensors/hatch.sh b/sensors/hatch.sh deleted file mode 100755 index 6cf7560..0000000 --- a/sensors/hatch.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -sock=/tmp/oktopus.sock - -rm "$sock" - -( cd "${0%/*}/" - for n in ./sensor_*.sh; do - $n & - done - for n in ekg pulse oxygen heartrate systole diastole; do - ./gummikraken.sh ./gummikraken.data $n & - done -) | teesock "$sock" & - -for n in 1 2 3 4 5 6 7 8 9 0; do [ ! -S "$sock" ] && sleep 1; done -chmod a+rw "$sock"