mirror of
https://github.com/ShaYmez/hblink3.git
synced 2024-11-21 15:41:49 -05:00
Update entrypoint
Change entrypoint to include playback enviroment variable
This commit is contained in:
parent
4cad03f2f5
commit
ee789c8846
11
entrypoint
11
entrypoint
@ -1,4 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /opt/hblink3
|
||||
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user