AddUser.sh
293 Bytes
#!/bin/sh
if [ $# -eq 0 ]
then
echo "json input be defined"
exit
fi
while getopts "j:" options; do
case $options in
j ) JSON_FILE=`echo $OPTARG`;;
esac
done
BASEDIR=$(dirname "$0")
. ${BASEDIR}/DDServer.env
php ${USERMANAGER}/UserManager.php --json $JSON_FILE