padlockian/padlock-core — pull request #1 by misto (2012-09-24 13:26:21+00:00)
Title: Use java.net.NetworkInterface to get MAC address on Java > 1.5.

At the moment, a shell command is used to get the MAC addresses of
the system, which can easily fail (e.g. on Gentoo, ifconfig is in
/bin, not /sbin). So on Java > 1.5, we use the NetworkInterface to
get the MAC addresses.