summarylogtreecommitdiffstats
path: root/skywire-autoconfig
diff options
context:
space:
mode:
Diffstat (limited to 'skywire-autoconfig')
-rwxr-xr-xskywire-autoconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/skywire-autoconfig b/skywire-autoconfig
index 03830774812a..bc0fd07be918 100755
--- a/skywire-autoconfig
+++ b/skywire-autoconfig
@@ -228,6 +228,7 @@ _msg2 "Visor Public Key:\n${_green}${_pubkey}${_nc}"
_welcome
#( _hvpk=$(grep -A 2 "\"hypervisors\": \[" /opt/skywire/skywire.json | grep -v "\[\]" | head -n2 | tail -n1 | cut -d '"' -f2) [[]] ; _msg2 "hypervisor Public Key: ${_purple}${_hvpk}${_nc}" ; _welcome )
systemctl is-active --quiet ${_svc} >/dev/null && [[ ${#SKYFWD[@]} -gt 0 ]] && command -v nc >/dev/null 2>&1 && ( while ! nc -z localhost 3435; do _msg2 "waiting for RPC" ; sleep 1; done ; for _port in ${SKYFWD[@]} ; do _msg2 "setting up skyfwd connection ${_yellow}skywire-cli fwd -p $_port${_nc}" ; skywire-cli fwd -p $_port ; done )
+exit 0
#SKYREV=('-p 8000 -r 8000 -k <public-key>')
#if systemctl is-active --quiet ${_svc} >/dev/null; then
# if [[ ${#SKYREV[@]} -gt 0 ]] ; then