From 37da2899f40661e3e9631e497da8dc59b971cbd0 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 17:07:39 +0000 Subject: 20060303a --- appl/svc/auth.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 appl/svc/auth.sh (limited to 'appl/svc/auth.sh') diff --git a/appl/svc/auth.sh b/appl/svc/auth.sh new file mode 100644 index 00000000..25c8d520 --- /dev/null +++ b/appl/svc/auth.sh @@ -0,0 +1,13 @@ +#!/dis/sh.dis -n +load std +or {ftest -e /net/dns} {ftest -e /env/emuhost} {ndb/dns} +or {ftest -e /net/cs} {ndb/cs} +or {ftest -f /keydb/signerkey} {echo 'auth: need to use createsignerkey(8)' >[1=2]; exit nosignerkey} +or {ftest -f /keydb/keys} {echo 'auth: need to create /keydb/keys' >[1=2]; exit nokeys} +and {auth/keyfs} { + listen -v -t -A 'tcp!*!inflogin' {auth/logind&} + listen -v -t -A 'tcp!*!infkey' {auth/keysrv&} + listen -v -t -A 'tcp!*!infsigner' {auth/signer&} + listen -v -t -A 'tcp!*!infcsigner' {auth/countersigner&} +} +# run svc/registry separately if desired -- cgit v1.2.3