mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 21:13:44 +02:00
single updated test file
This commit is contained in:
parent
81203b20b8
commit
608e059b18
1 changed files with 4 additions and 2 deletions
|
@ -29,9 +29,11 @@ echo '*** Up and running at' $virtip4 ' on network: ' $nwid
|
||||||
echo '*** Writing address to ' "$address_file"
|
echo '*** Writing address to ' "$address_file"
|
||||||
echo $virtip4 > "$address_file"
|
echo $virtip4 > "$address_file"
|
||||||
|
|
||||||
export ZT_NC_NWID=$dev
|
export ZT_NC_NETWORK=/var/lib/zerotier-one/nc_"$dev"
|
||||||
|
echo $ZT_NC_NETWORK
|
||||||
|
export LD_PRELOAD ./libzerotierintercept.so
|
||||||
|
|
||||||
# --- Test section ---
|
# --- Test section ---
|
||||||
echo '*** Starting application...'
|
echo '*** Starting application...'
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
zerotier-intercept node httpserver.js
|
node httpserver.js
|
Loading…
Add table
Reference in a new issue