mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
Add Western Digital apkg build scripts
This commit is contained in:
parent
a74532fa0b
commit
acd1f24a3f
15 changed files with 280 additions and 0 deletions
15
pkg/wd/zerotier/init.sh
Executable file
15
pkg/wd/zerotier/init.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue