mirror of
https://github.com/ShaYmez/hblink3.git
synced 2024-11-21 15:41:49 -05:00
11 lines
250 B
Plaintext
11 lines
250 B
Plaintext
|
#!/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
|