florian 1ecb72b961 [package] add mac-to-devinfo (#5373)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-06 11:38:01 +00:00

16 lines
294 B
Bash

#!/bin/sh
OUIURL=http://standards.ieee.org/regauth/oui/oui.txt
IABURL=http://standards.ieee.org/regauth/oui/iab.txt
OUIDIR=/var/cache/mac-to-devinfo
OUIFILE=$OUIDIR/oui.txt
IABFILE=$OUIDIR/iab.txt
[ -d $OUIDIR ] || mkdir -p $OUIDIR
wget -q -O $OUIFILE $OUIURL
wget -q -O $IABFILE $IABURL