From: Mark Wooding Date: Sat, 9 Feb 2013 17:37:50 +0000 (+0000) Subject: bin/sign: Allow domain to be set in the hosts file. X-Git-Url: https://git.distorted.org.uk/~mdw/ssh-ca/commitdiff_plain/394159720cfe414254fc329295e0cbbb7e8a8227 bin/sign: Allow domain to be set in the hosts file. We extend our reach to other networks. --- diff --git a/bin/sign b/bin/sign index ecd139e..fbdadc6 100755 --- 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=""