diff --git a/impression/ethercodes.sh b/utils/ethercodes.sh similarity index 94% rename from impression/ethercodes.sh rename to utils/ethercodes.sh index 0e4a573e..a1356d8b 100755 --- a/impression/ethercodes.sh +++ b/utils/ethercodes.sh @@ -4,6 +4,8 @@ # Avant la comande était entièrement dans la crontab, dans un script ça avait l'air mieux... TEMPFILE=`tempfile` + +# on évite de casser le dépôt darcs umask 002 wget -o /dev/null -O $TEMPFILE http://standards.ieee.org/regauth/oui/oui.txt \ && awk -F '[\t ]*(hex)[ \t]*' '(/(hex)/) {gsub("-",":",$1) ; print $1" "$2}' < $TEMPFILE > /usr/scripts/gestion/ethercodes.dat \