#!/bin/sh set -e if [ "$1" = "eth0" ]; then cat < metric 0 mtu 1500 options=9b ether 2:44:66:88:aa:cc inet6 fe80::44:66ff:fe88:aacc%re0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 inet6 2001:db8::44:66ff:fe88:aacc prefixlen 64 autoconf nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active EOF fi