diff options
Diffstat (limited to 'netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh')
-rw-r--r-- | netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh b/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh index 324ebc8a..44e79eb8 100644 --- a/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh +++ b/netcon/docker-test/nodejs/nodejs-0.10.36-4.fc23/netcon_entrypoint.sh @@ -29,9 +29,11 @@ echo '*** Up and running at' $virtip4 ' on network: ' $nwid echo '*** Writing address to ' "$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 --- echo '*** Starting application...' sleep 0.5 -zerotier-intercept node httpserver.js
\ No newline at end of file +node httpserver.js
\ No newline at end of file |