blob: d58dd8b337896876e50ae4e7cbac8d21c42fa640 [file] [log] [blame]
#!/bin/bash
# Copyright 2017 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
### get the address of a running fuchsia system
set -e
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-config-read
"${ZIRCON_TOOLS_DIR}/netaddr" --nowait "$@"