X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=grml-hwinfo;h=37f007cf7efb091af3e57adcafde2c9c70301cfc;hb=8eca38cb953a756c9662cb93a7c2cb933657261d;hp=ed48463d5ad658beca16055b5e24599fc42fb3d6;hpb=2fea1a198e66c3566dcd5d2d9e0ca9198a5e4173;p=grml-hwinfo.git diff --git a/grml-hwinfo b/grml-hwinfo index ed48463..37f007c 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -223,6 +223,11 @@ cd "${OUTDIR}" || exit 1 exectest ip && ip netns list > ip_netns exectest ip && ip ntable show > ip_ntable exectest ip && ip route show > ip_route + exectest ip && if [ -r /etc/iproute2/rt_tables ] ; then + grep -v '^#' /etc/iproute2/rt_tables | while read table name ; do + ip route show table "${table}" > "ip_route_table_${table}" + done + fi exectest ip && ip rule show > ip_rule exectest ip && ip tunnel show > ip_tunnel exectest ip && ip tuntap show > ip_tuntap