domtool-adduser: use domtool-config to find ca
[hcoop/domtool2.git] / scripts / domtool-adduser
1 #!/bin/sh -e
2
3 if ! [ -e `domtool-config -path cert ca` ]; then
4 echo "domtool ca not found. Are you running this on the same machine as domtool-server?"
5 exit 1
6 fi
7
8 domtool-addcert $*
9 domtool-addacl $*