commit | 1b95cf75dd5f034bb8f3bdd6909e8e43a0e9abb6 | [log] [tgz] |
---|---|---|
author | Shang Yong <shangyong@letv.com> | Wed Oct 15 17:19:48 2014 +0800 |
committer | Shang Yong <shangyong@letv.com> | Fri Oct 24 23:49:17 2014 +0800 |
tree | 10de0aa87c2dd3504a8c9ee78381a5f94b138458 | |
parent | acba5510785258949679304f3e1a55e53b851962 [diff] |
Use "ip" instead of "ifconfig" to get MAC address "ifconfig" get different formats of output under different systems, like CentOS and Fedora, but "ip" can provide uniform format, so we use "ip" instead of "ifconfig" to get MAC address. Change-Id: If7559ea96c96ed2f33ddb00737ee0f53f7de4990 Closes-Bug: 1381416