#!/bin/sh if [ $# -eq 0 ] then echo "ViId [BaseId] should be defined" exit fi BASEDIR=$(dirname "$0") . ${BASEDIR}/DDServer.env if [ $# -eq 1 ] then php ${DATAMANAGER}/RemoveVI.php $1 else php ${DATAMANAGER}/RemoveVI.php $1 $2 fi