mirror of
https://github.com/ShaYmez/hblink3.git
synced 2026-06-16 21:08:42 -04:00
c67c49f57d
Co-authored-by: ShaYmez <76499782+ShaYmez@users.noreply.github.com>
13 lines
331 B
Bash
Executable File
13 lines
331 B
Bash
Executable File
#!/bin/sh
|
|
cd /opt/hblink3 || exit
|
|
|
|
if [ "$PARROT_ENABLE" = 1 ]
|
|
then
|
|
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
|
|
echo 'Starting HBlink.....'
|
|
python /opt/hblink3/bridge.py -c hblink.cfg -r rules.py
|
|
fi
|