diff --git a/Cfg/etc/cron.d/ethercode/ethercode b/Cfg/etc/cron.d/ethercode/ethercode index 993a500..49e0571 100644 --- a/Cfg/etc/cron.d/ethercode/ethercode +++ b/Cfg/etc/cron.d/ethercode/ethercode @@ -1,3 +1,3 @@ MAILTO=roots@crans.org LANG=fr_FR.UTF-8 -10 2 15 * * root TEMPFILE=`tempfile` ; 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 && cd /usr/scripts/gestion && darcs record --author "Cron Daemon " --patch-name "[ethercodes.dat] Mise a jour du fichier vendeur" --all --no-ask-deps --skip-long-comment ethercodes.dat > /dev/null ; rm -f $TEMPFILE +10 2 15 * * root /usr/scripts/utils/ethercodes.sh