File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,14 @@ network_check
1414update_os
1515
1616msg_info " Setting up Zerotier-One"
17- curl -fsSL ' https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import &&
18- if z=" $( curl -fsSL ' https://install.zerotier.com/' | gpg) " ; then
19- echo " $z " | sudo bash
20- fi
17+ curl -fsSL https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg | gpg --import > /dev/null 2>&1
18+ curl -fsSL https://install.zerotier.com -o /tmp/zerotier-install.sh
19+ if gpg --verify /tmp/zerotier-install.sh > /dev/null 2>&1 ; then
20+ $STD bash /tmp/zerotier-install.sh
21+ else
22+ msg_warn " Could not verify signature of Zerotier-One install script. Exiting..."
23+ exit 1
24+ fi
2125msg_ok " Setup Zerotier-One"
2226
2327msg_info " Setting up UI"
You can’t perform that action at this time.
0 commit comments