#!/bin/sh exec 2>&1 which ncidd > /dev/null 2>/dev/null if [ $? = 0 ] then exec /usr/sbin/ncidd -D 2>&1 fi