@@ -19,6 +19,7 @@ if [ "$y" = "samesame" ]; then
1919 samesame=true
2020fi
2121
22+ python3 -m pip install --user virtualenv
2223# entrys
2324echo " <<<--- Hallo to IoTree42 --->>>"
2425echo " ENTER YOUR LINUX USERNAME FOR BUIDING PATHS"
@@ -44,7 +45,7 @@ sudo apt-get install -y inotify-tools
4445sudo apt-get install -y libopenjp2-7
4546sudo apt install -y libtiff5
4647sudo apt-get install -y zip
47- python3 -m pip install --user virtualenv
48+
4849
4950
5051# get linux username make password for mqtt get host IP
@@ -198,12 +199,12 @@ mv ./IoTree_Gateway_V_1.1.zip ./home_user/dj_iot/media/downloadfiles
198199mkdir /etc/iotree
199200mkdir /home/$myvariable /.ssl
200201cp -r ./home_user/ssl/* /home/$myvariable /.ssl
201- cp -r ./home_user/acl /home/$myvariable /.acl
202- cp -r ./home_user/passwd /home/$myvariable /.passwd
203- cp -r ./home_user/hashing /home/$myvariable /.hashing
202+ mv ./home_user/acl /home/$myvariable /.acl
203+ mv ./home_user/passwd /home/$myvariable /.passwd
204+ mv ./home_user/hashing /home/$myvariable /.hashing
204205cp -r ./home_user/* /home/$myvariable /
205206cp /etc/mosquitto/mosquitto.conf /etc/mosquitto/mosquitto.conf.iotree_save
206- cp -r ./tmp/mosquitto.conf /etc/mosquitto.conf
207+ cp -r ./tmp/mosquitto.conf /etc/mosquitto/mosquitto .conf
207208cp -r ./tmp/config.json /etc/iotree
208209cp -r ./tmp/hash3.sh /etc/iotree
209210cp -r ./tmp/reload3.sh /etc/iotree
0 commit comments