summaryrefslogtreecommitdiff
path: root/contrib/mac/updateoui
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mac/updateoui')
-rwxr-xr-xcontrib/mac/updateoui34
1 files changed, 0 insertions, 34 deletions
diff --git a/contrib/mac/updateoui b/contrib/mac/updateoui
deleted file mode 100755
index 2a6a07c3df..0000000000
--- a/contrib/mac/updateoui
+++ /dev/null
@@ -1,34 +0,0 @@
-#! /bin/sh
-# Utility to create manufacturer's OUI table
-
-args=
-refresh=0
-
-while [ $# -gt 0 ]
-do
- case "$1" in
- --refresh|--fetch|-r)
- refresh=1
- ;;
- --norefresh|--nofetch)
- refresh=0
- ;;
- --help)
- echo "Usage: $0 --[no]refresh dbname"
- exit
- ;;
- *)
- args="$args $1"
- ;;
- esac
- shift
-done
-
-if [ $refresh -gt 0 ]; then
- [ -e oui.txt ] && rm -rf oui.txt
- wget -nd 'http://standards.ieee.org/regauth/oui/oui.txt'
-fi
-
-awk -f ouiparse.awk < oui.txt | psql -e $args
-
-exit