HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add default DNS mappings
[hcoop/domtool2.git]
/
scripts
/
domtool-adduser
diff --git
a/scripts/domtool-adduser
b/scripts/domtool-adduser
index
3133cff
..
c8497ee
100755
(executable)
--- a/
scripts/domtool-adduser
+++ b/
scripts/domtool-adduser
@@
-1,4
+1,9
@@
#!/bin/sh -e
+if ! [ -e /etc/domtool ]; then
+ echo "/etc/domtool not found. Are you running this on the same machine as domtool-server?"
+ exit 1
+fi
+
domtool-addcert $*
domtool-addacl $*