AddLocalVI.sh
303 Bytes
#!/bin/sh
BASEDIR=$(dirname "$0")
. ${BASEDIR}/DDServer.env
while getopts "j:" options; do
case $options in
j ) JSON_FILE=`echo $OPTARG`;;
esac
done
if [ "$JSON_FILE" = "" ]
then
php ${DATAMANAGER}/AddLocalVI.php
else
php ${DATAMANAGER}/AddLocalVI.php --json $JSON_FILE
fi