mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update wifi-connect.sh
This commit is contained in:
parent
9396bb8850
commit
1e1684e274
|
|
@ -5,12 +5,6 @@ SCRIPT_NAME="wifi-connect.sh"
|
|||
# Registra el inicio en /opt/curl.txt
|
||||
echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt
|
||||
if [ "$(cat /proc/cpuinfo | grep 'Raspberry')" != "" ]; then
|
||||
sudo apt install -y network-manager
|
||||
sudo systemctl stop dhcpcd
|
||||
sudo systemctl disable dhcpcd
|
||||
sudo systemctl enable NetworkManager
|
||||
sudo systemctl start NetworkManager
|
||||
|
||||
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/docker.sh)" &&
|
||||
cd /opt
|
||||
mkdir wc
|
||||
|
|
|
|||
Loading…
Reference in New Issue