1#!/bin/bash 2# Mostly redundant except when you need dns[]=your_static_dns_srv 3# 4let cfg=cfg+1 5if[$cfg]=lo 6ip[$cfg]=127.0.0.1 7ipmask[$cfg]=127.0.0.1/8 8gw[$cfg]='' 9net[$cfg]='' 10#dns[$cfg]=127.0.0.1 11