GITLAB

CDPP / DDServer

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
10e40a5d8efaad28c2a593bba83c7739ab81e511
  • DDServer
  • scripts
  • AddUser.sh
  • cb4b7775   USERMANAGER TOOLS Browse Code »
    Elena.Budnik
    7 years ago  
AddUser.sh 293 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/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