mirror of
https://github.com/ShaYmez/hblink3.git
synced 2024-11-16 13:11:46 -05:00
11 lines
250 B
Bash
11 lines
250 B
Bash
#!/bin/sh
|
|
|
|
mkdir -p /var/tmp/config
|
|
cd /var/tmp/config
|
|
git clone https://${GIT_USER}:${GIT_PASSWORD}@${GIT_REPO}
|
|
|
|
DIR=$(echo ${GIT_REPO}| sed s/.git$//g | sed s#^.*/##g)
|
|
|
|
cp -a /var/tmp/config/${DIR}/*cfg /opt/hblink3/
|
|
python /opt/hblink3/hblink.py
|