Correction dans la probe mac, et commentaire dans ip.py

This commit is contained in:
Pierre-Elliott Bécue 2013-02-10 02:51:18 +01:00
parent 7b381655f0
commit e3822ee35b
2 changed files with 3 additions and 1 deletions

View file

@ -2,4 +2,4 @@
echo "group:mac"
exec ip -6 a show | egrep "(^[0-9]*:|scope link)" | tail -n +2 | sed -e 's/^[0-9]*: //' -e 's/: <.*$//g' -e 's/@.*//g' -e 's/^.*fe80:://g' -e 's:/64.*$::g'
exec ip -6 a show | egrep "(^[0-9]*:|scope link)" | tail -n +1 | sed -e 's/^[0-9]*: //' -e 's/: <.*$//g' -e 's/@.*//g' -e 's/^.*fe80:://g' -e 's:/64.*$::g'