#!/bin/shmac=`ifconfig br-lan|grep 'HWaddr'|awk -F " " '{print $5}'`curl -d macaddress=$mac http://xxx.xxx.com