letterbomb/update_oui.sh

6 lines
271 B
Bash
Raw Normal View History

2018-10-30 09:39:07 +01:00
#!/bin/sh
wget -O - http://standards.ieee.org/develop/regauth/oui/oui.txt | grep -i nintendo | grep base\ 16 | awk '{print $1}' | sort > oui_list.txt.new || exit 1
diff -urN oui_list.txt oui_list.txt.new
mv oui_list.txt oui_list.txt.old
mv oui_list.txt.new oui_list.txt