#!/bin/bash | |
set -e | |
### start overnet host-pipe to target device | |
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/../lib/vars.sh || exit $? | |
fx-config-read | |
onet="$FUCHSIA_BUILD_DIR/host-tools/onet" | |
socat EXEC:"$onet host-pipe" EXEC:"$FUCHSIA_DIR/scripts/fx shell onet host-pipe" |