master
Can202 2021-09-12 01:19:08 -03:00
parent 72ea2b6784
commit 49be486142
2 changed files with 3 additions and 3 deletions

View File

@ -8,11 +8,11 @@ works on Debian-based (apt), Manjaro (pacman, AUR), Fedora-like(dnf) and OpenSUS
use this command with root or an admin user
### sudo
~~~
cd /tmp/ && rm -vrf zerotier.bash && curl -LO https://raw.githubusercontent.com/Can202/ZeroTierInstaller/dev/zerotier.bash && chmod a+x zerotier.bash && clear && sudo ./zerotier.bash && rm -vrf zerotier.bash
cd /tmp/ && rm -vrf zerotier.bash && curl -LO https://raw.githubusercontent.com/Can202/ZeroTierInstaller/v1.0/zerotier.bash && chmod a+x zerotier.bash && clear && sudo ./zerotier.bash && rm -vrf zerotier.bash
~~~
### su
~~~
cd /tmp/ && rm -vrf zerotier.bash && curl -LO https://raw.githubusercontent.com/Can202/ZeroTierInstaller/dev/zerotier.bash && chmod a+x zerotier.bash && clear && su root -c './zerotier.bash' && rm -vrf zerotier.bash
cd /tmp/ && rm -vrf zerotier.bash && curl -LO https://raw.githubusercontent.com/Can202/ZeroTierInstaller/v1.0/zerotier.bash && chmod a+x zerotier.bash && clear && su root -c './zerotier.bash' && rm -vrf zerotier.bash
~~~
## Dependencies (before the script)

View File

@ -86,7 +86,7 @@ cp ZeroTier-GUI/src/zerotier-gui /usr/bin/
git clone https://github.com/Can202/ZeroTierInstaller
cd ZeroTierInstaller/
git checkout dev
git checkout v1.0
cd media/
chmod a+x zerotier-gui-remove
cp zerotier-gui-remove /usr/bin/zerotier-gui-remove