HBLink3/entrypoint

13 lines
324 B
Plaintext
Raw Permalink Normal View History

2022-01-23 18:38:08 -05:00
#!/bin/sh
cd /opt/hblink3
if [ "$PARROT_ENABLE" == 1 ]
then
2023-08-06 17:42:27 -04:00
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
2023-08-06 17:42:27 -04:00
echo 'Starting HBlink.....'
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py
fi