#!/bin/bash | |
# | |
# Starts wfa_ca on default port and bind to default wfa_dut server. | |
DUT_IP=$( ifconfig eth0 | grep "inet " | awk '{ print $2 }' ) | |
WFA_LIB=/usr/local/libexe/wfa | |
echo "Starting wfa_ca on $DUT_IP:8888" | |
# Append $WFA_LIB to $PATH so that wfa_ca can run the scripts in it. | |
PATH="$PATH:$WFA_LIB" wfa_ca eth0 8888 $DUT_IP 9999 & |