summaryrefslogtreecommitdiffstats
path: root/misc/ipv6/info/collect.sh
blob: 8dd2022616019e378cbaaf2912ae296ca7f82cb2 (plain)
1
2
3
4
5
6
7
#!/bin/sh

tmpfile=$(mktemp)
ip -0 -o a s $(ip -6 -o a s | grep -v lo | awk '{print $2}') > $tmpfile
ip -6 -o a s $(ip -6 -o a s | grep -v lo | awk '{print $2}') >> $tmpfile

rstrnt-report-result --no-plugins --outputfile $tmpfile $TASKNAME PASS 0