From 0a065f48be99d4ebae49de622a335f23e50c6ca0 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 18 Dec 2022 06:31:24 +0300 Subject: pump-mqtt-bot: wip; relayctl: somewhat stable --- tools/mcuota.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tools/mcuota.sh (limited to 'tools/mcuota.sh') diff --git a/tools/mcuota.sh b/tools/mcuota.sh new file mode 100755 index 0000000..b2e7910 --- /dev/null +++ b/tools/mcuota.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" + +. "$DIR/lib.bash" + +if [ -d "$DIR/../venv" ]; then + echoinfo "activating python venv" + . "$DIR/../venv/bin/activate" +else + echowarn "python venv not found" +fi + +"$DIR/mcuota.py" "$@" \ No newline at end of file -- cgit v1.2.3