#! /bin/sh IFUP=/sbin/ifup echo -n "Network interfaces:" if ${IFUP} -a > /dev/null 2> /dev/null; then echo " done" else echo " failed" exit 1 fi