chiark
/
gitweb
/
~mdw
/
ssh-ca
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin/sign: Allow domain to be set in the hosts file.
[ssh-ca]
/
bin
/
sign
diff --git
a/bin/sign
b/bin/sign
index ecd139ea00d2aa58b1e25c838dcd16733d8caf8e..fbdadc6ca6104689b1e44b2ab73d498055e5a7a5 100755
(executable)
--- a/
bin/sign
+++ b/
bin/sign
@@
-36,6
+36,10
@@
while read line <&3; do
## Read the host line.
set -- $line
+ case "$1" in
+ @domain) domain=$2 ;;
+ @*) echo >&2 "$0: unknown directive \`$1'"; exit 1 ;;
+ esac
host=$1
names=""
nicks=""