linux 获取br-lan的mac地址并post给一个网址 #!/bin/shmac=`ifconfig br-lan|grep 'HWaddr'|awk -F " " '{print $5}'`curl -d macaddress=$mac http://xxx.xxx.com