mirror of
https://github.com/ShaYmez/hblink3.git
synced 2024-11-25 01:08:40 -05:00
ee789c8846
Change entrypoint to include playback enviroment variable
12 lines
290 B
Bash
Executable File
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
|