[ethercodes.sh] darcs -> git

This commit is contained in:
Vincent Le Gallic 2013-02-18 00:19:37 +01:00
parent d0b8e58121
commit 9b8bad1610

View file

@ -10,6 +10,7 @@ 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 \
&& cd /usr/scripts/gestion \
&& darcs record --author "Cron Daemon <root@crans.org>" --patch-name "[ethercodes.dat] Mise a jour du fichier vendeur" --all --no-ask-deps --skip-long-comment ethercodes.dat > /dev/null
&& git commit --author="Cron Daemon <root@crans.org>" -m "[ethercodes.dat] Mise à jour du fichier vendeur" ethercodes.dat > /dev/null \
&& git push > /dev/null
rm -f $TEMPFILE