Skip to content

Commit

Permalink
Merge pull request #111 from cvicente/oui_install
Browse files Browse the repository at this point in the history
Do not download OUI database during installation
  • Loading branch information
cvicente committed Mar 28, 2018
2 parents aa33ca7 + 8d2f6be commit f2719cd
Show file tree
Hide file tree
Showing 8 changed files with 100,143 additions and 86,382 deletions.
10 changes: 7 additions & 3 deletions bin/Makefile
Expand Up @@ -17,7 +17,7 @@ FILES := $(shell ls *.pl)
install:
$(substitute)

installdb: _installdb oui
installdb: _installdb install_oui

_installdb:
$(PERL) initdb initdb
Expand All @@ -33,7 +33,11 @@ defragdb: _defragdb
_defragdb:
$(PERL) defragdb

oui:
oui: update_oui install_oui

update_oui:
rm -f oui.txt
wget -t 1 -T 10 $(OUI_URL) || cp oui.txt.default oui.txt
wget -t 1 -T 10 $(OUI_URL)

install_oui:
$(PERL) initdb oui

0 comments on commit f2719cd

Please sign in to comment.