HBLink3/entrypoint

12 lines
290 B
Plaintext
Raw Normal View History

2022-01-23 18:38:08 -05:00
#!/bin/sh
cd /opt/hblink3
if [ "$PARROT_ENABLE" == 1 ]
then
echo 'Staring HBlink with Parrot.....'
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py &
python /opt/hblink3/playback.py -c playback.cfg
else
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py
fi