This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # maclookup.sh 0.2 by paraxor (Evan Teitelman) | |
| # Looks up MAC addresses in the IEEE MA-L/OUI public listing. | |
| # override with -f | |
| oui_file=/usr/share/maclookup/oui.txt | |
| # override with -a | |
| additional_info=false | |
| # override with -v | |
| verbose=/dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| MODMAN="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/modman" | |
| TMPDIR=$(mktemp -d) | |
| function cleanup () { | |
| rm -rfv "$TMPDIR" | |
| } | |
| trap cleanup EXIT |