#!/bin/sh -e svdir="/var/service" if [ -d "${svdir}" ]; then echo "YES" fi