#!/bin/bash
LC_ALL=C ifconfig -a | grep -c -E "^eth|^lan|^wan"

