Create run.sh
This commit is contained in:
8
coffee_maker/run.sh
Normal file
8
coffee_maker/run.sh
Normal 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"
|
||||||
Reference in New Issue
Block a user