Create run.sh

This commit is contained in:
Pascal Vizeli
2017-05-04 08:43:42 +02:00
committed by GitHub
parent 56724e02d6
commit c9129f8f5e

8
coffee_maker/run.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
sed -e
CONFIG_PATH=/data/options.json
DEVICE=$(jq --raw-output ".device" $CONFIG_PATH)
echo "We can now make coffee on device: $DEVICE"