diff options
| author | Thomas G. Lockhart | 2000-08-23 06:02:23 +0000 |
|---|---|---|
| committer | Thomas G. Lockhart | 2000-08-23 06:02:23 +0000 |
| commit | aa2a3bfd486bc256e97c5a0832523b0162aeadca (patch) | |
| tree | 70ddfe8e27f68291d58aae01a465c93344ef5619 /contrib/mac/dropoui | |
| parent | 2b6a35f7cdc045bf01a0539cf76dcd34adb0ccbf (diff) | |
Create and manage information on MAC address OUIs
(Organizationally Unique Identifiers).
This is the manufacturer's code in the MAC address.
Diffstat (limited to 'contrib/mac/dropoui')
| -rwxr-xr-x | contrib/mac/dropoui | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/mac/dropoui b/contrib/mac/dropoui new file mode 100755 index 00000000000..6fffdc92d66 --- /dev/null +++ b/contrib/mac/dropoui @@ -0,0 +1,25 @@ +#! /bin/sh +# Utility to remove manufacturer's oui table + +args= + +while [ $# -gt 0 ] +do + case "$1" in + --help) + echo "Usage: $0 dbname" + exit + ;; + *) + args="$args $1" + ;; + esac + shift +done + +psql $args <<EOF +drop function manuf(macaddr); +drop table macoui; +EOF + +exit |
