#!/bin/sh [ -d /etc/sysconfig/network-scripts/ ] || exit 1 [[ $1 = -d ]] && echo network exit 255