summaryrefslogtreecommitdiff
path: root/appl/svc/auth.sh
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
commit37da2899f40661e3e9631e497da8dc59b971cbd0 (patch)
treecbc6d4680e347d906f5fa7fca73214418741df72 /appl/svc/auth.sh
parent54bc8ff236ac10b3eaa928fd6bcfc0cdb2ba46ae (diff)
20060303a
Diffstat (limited to 'appl/svc/auth.sh')
-rw-r--r--appl/svc/auth.sh13
1 files changed, 13 insertions, 0 deletions
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