mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 06:17:48 +00:00
15 lines
425 B
Bash
Executable File
15 lines
425 B
Bash
Executable File
#!/bin/sh
|
|
|
|
install_path=$1
|
|
|
|
ln -s $install_path/bin/zerotier-one /usr/sbin/zerotier-one
|
|
ln -s $install_path/bin/zerotier-one /usr/sbin/zerotier-cli
|
|
ln -s $install_path/bin/zerotier-one /usr/bin/zerotier-one
|
|
ln -s $install_path/bin/zerotier-one /usr/bin/zerotier-cli
|
|
|
|
ln -s $install_path/ /var/lib/zerotier-one
|
|
|
|
APKG_PATH=$(readlink -f $1)
|
|
WEBPATH="/var/www/apps/zerotier/"
|
|
mkdir -p $WEBPATH
|
|
ln -sf ${APKG_PATH}/web/* $WEBPATH |