HBLink3/entrypoint
M0VUB ee789c8846
Update entrypoint
Change entrypoint to include playback enviroment variable
2023-08-06 22:40:28 +01:00

12 lines
290 B
Bash
Executable File

#!/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