#!/bin/sh

ROOT=/www
CONFIG=$ROOT/config

source $CONFIG/ap.conf

[ -z "$WAN_ETH" ] && inf=eth0 || inf="$WAN_ETH"
cat /sys/class/net/$inf/address