summaryrefslogtreecommitdiff
path: root/dis/svc/auth
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
commit46439007cf417cbd9ac8049bb4122c890097a0fa (patch)
tree6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /dis/svc/auth
parent37da2899f40661e3e9631e497da8dc59b971cbd0 (diff)
20060303-partial
Diffstat (limited to 'dis/svc/auth')
-rwxr-xr-xdis/svc/auth13
1 files changed, 13 insertions, 0 deletions
diff --git a/dis/svc/auth b/dis/svc/auth
new file mode 100755
index 00000000..25c8d520
--- /dev/null
+++ b/dis/svc/auth
@@ -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