HBLink3/entrypoint
2023-08-06 22:42:27 +01:00

13 lines
324 B
Bash
Executable File

#!/bin/sh
cd /opt/hblink3
if [ "$PARROT_ENABLE" == 1 ]
then
echo 'Starting HBlink with Parrot.....'
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py &
python /opt/hblink3/playback.py -c playback.cfg
else
echo 'Starting HBlink.....'
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py
fi