summaryrefslogtreecommitdiffstats
path: root/elchos/root-image/krebs/bin/macid.sh
blob: 0fccc84b469d87416e7d8860f3c17c6cb2b2bb75 (plain)
1
2
#!/bin/sh
ip addr | grep ether | awk '{print $2}' | sort |md5sum | awk '{print $1}' | dd bs=1 count=6 2>/dev/null