mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update wifi-connect.sh
This commit is contained in:
parent
908580abc4
commit
f3a818db10
|
|
@ -5,7 +5,7 @@ SCRIPT_NAME="wifi-connect.sh"
|
||||||
# Registra el inicio en /opt/curl.txt
|
# Registra el inicio en /opt/curl.txt
|
||||||
echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt
|
echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt
|
||||||
if [ "$(cat /proc/cpuinfo | grep 'Raspberry')" != "" ]; then
|
if [ "$(cat /proc/cpuinfo | grep 'Raspberry')" != "" ]; then
|
||||||
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/docker.sh)"
|
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/docker.sh)" &&
|
||||||
cd /opt
|
cd /opt
|
||||||
mkdir wc
|
mkdir wc
|
||||||
sudo cat > /opt/wc/docker-compose.yml <<- "EOF"
|
sudo cat > /opt/wc/docker-compose.yml <<- "EOF"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue