chiark
/
gitweb
/
~mdw
/
ssh-ca
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e96819
)
bin/sign: Allow domain to be set in the hosts file.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 9 Feb 2013 17:37:50 +0000
(17:37 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 9 Feb 2013 17:37:50 +0000
(17:37 +0000)
We extend our reach to other networks.
bin/sign
patch
|
blob
|
blame
|
history
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=""