diff options
Diffstat (limited to 'dis/svc')
| -rwxr-xr-x | dis/svc/auth | 13 | ||||
| -rw-r--r-- | dis/svc/httpd/alarms.dis | bin | 0 -> 481 bytes | |||
| -rw-r--r-- | dis/svc/httpd/cache.dis | bin | 0 -> 1957 bytes | |||
| -rw-r--r-- | dis/svc/httpd/cgiparse.dis | bin | 0 -> 2789 bytes | |||
| -rw-r--r-- | dis/svc/httpd/contents.dis | bin | 0 -> 2297 bytes | |||
| -rw-r--r-- | dis/svc/httpd/date.dis | bin | 0 -> 2487 bytes | |||
| -rw-r--r-- | dis/svc/httpd/echo.dis | bin | 0 -> 1845 bytes | |||
| -rw-r--r-- | dis/svc/httpd/httpd.dis | bin | 0 -> 14440 bytes | |||
| -rw-r--r-- | dis/svc/httpd/imagemap.dis | bin | 0 -> 5321 bytes | |||
| -rw-r--r-- | dis/svc/httpd/parser.dis | bin | 0 -> 10666 bytes | |||
| -rw-r--r-- | dis/svc/httpd/redirect.dis | bin | 0 -> 1236 bytes | |||
| -rw-r--r-- | dis/svc/httpd/stats.dis | bin | 0 -> 1656 bytes | |||
| -rwxr-xr-x | dis/svc/net | 6 | ||||
| -rwxr-xr-x | dis/svc/registry | 8 | ||||
| -rwxr-xr-x | dis/svc/rstyx | 4 | ||||
| -rwxr-xr-x | dis/svc/styx | 4 | ||||
| -rw-r--r-- | dis/svc/webget/date.dis | bin | 0 -> 2577 bytes | |||
| -rw-r--r-- | dis/svc/webget/file.dis | bin | 0 -> 684 bytes | |||
| -rw-r--r-- | dis/svc/webget/ftp.dis | bin | 0 -> 3871 bytes | |||
| -rw-r--r-- | dis/svc/webget/http.dis | bin | 0 -> 9923 bytes | |||
| -rw-r--r-- | dis/svc/webget/image2enc.dis | bin | 0 -> 10450 bytes | |||
| -rw-r--r-- | dis/svc/webget/message.dis | bin | 0 -> 2473 bytes | |||
| -rw-r--r-- | dis/svc/webget/webget.dis | bin | 0 -> 5594 bytes | |||
| -rw-r--r-- | dis/svc/webget/wgutils.dis | bin | 0 -> 4062 bytes |
24 files changed, 35 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 diff --git a/dis/svc/httpd/alarms.dis b/dis/svc/httpd/alarms.dis Binary files differnew file mode 100644 index 00000000..d09bfe1b --- /dev/null +++ b/dis/svc/httpd/alarms.dis diff --git a/dis/svc/httpd/cache.dis b/dis/svc/httpd/cache.dis Binary files differnew file mode 100644 index 00000000..6bbc4828 --- /dev/null +++ b/dis/svc/httpd/cache.dis diff --git a/dis/svc/httpd/cgiparse.dis b/dis/svc/httpd/cgiparse.dis Binary files differnew file mode 100644 index 00000000..d0373b5e --- /dev/null +++ b/dis/svc/httpd/cgiparse.dis diff --git a/dis/svc/httpd/contents.dis b/dis/svc/httpd/contents.dis Binary files differnew file mode 100644 index 00000000..087c712c --- /dev/null +++ b/dis/svc/httpd/contents.dis diff --git a/dis/svc/httpd/date.dis b/dis/svc/httpd/date.dis Binary files differnew file mode 100644 index 00000000..b7f7c647 --- /dev/null +++ b/dis/svc/httpd/date.dis diff --git a/dis/svc/httpd/echo.dis b/dis/svc/httpd/echo.dis Binary files differnew file mode 100644 index 00000000..58e885bc --- /dev/null +++ b/dis/svc/httpd/echo.dis diff --git a/dis/svc/httpd/httpd.dis b/dis/svc/httpd/httpd.dis Binary files differnew file mode 100644 index 00000000..4f48da5f --- /dev/null +++ b/dis/svc/httpd/httpd.dis diff --git a/dis/svc/httpd/imagemap.dis b/dis/svc/httpd/imagemap.dis Binary files differnew file mode 100644 index 00000000..b92ed373 --- /dev/null +++ b/dis/svc/httpd/imagemap.dis diff --git a/dis/svc/httpd/parser.dis b/dis/svc/httpd/parser.dis Binary files differnew file mode 100644 index 00000000..78fa66a6 --- /dev/null +++ b/dis/svc/httpd/parser.dis diff --git a/dis/svc/httpd/redirect.dis b/dis/svc/httpd/redirect.dis Binary files differnew file mode 100644 index 00000000..30ab32a9 --- /dev/null +++ b/dis/svc/httpd/redirect.dis diff --git a/dis/svc/httpd/stats.dis b/dis/svc/httpd/stats.dis Binary files differnew file mode 100644 index 00000000..419bf537 --- /dev/null +++ b/dis/svc/httpd/stats.dis diff --git a/dis/svc/net b/dis/svc/net new file mode 100755 index 00000000..437c631e --- /dev/null +++ b/dis/svc/net @@ -0,0 +1,6 @@ +#!/dis/sh.dis -n +load std +or {ftest -e /net/dns} {ftest -e /env/emuhost} {ndb/dns} +or {ftest -e /net/cs} {ndb/cs} +svc/registry +svc/styx diff --git a/dis/svc/registry b/dis/svc/registry new file mode 100755 index 00000000..4d183cb3 --- /dev/null +++ b/dis/svc/registry @@ -0,0 +1,8 @@ +#!/dis/sh.dis -n +load std +or {ftest -f /mnt/registry/new} { + db=() + and {ftest -f /lib/ndb/registry} {db=(-f /lib/ndb/registry)} + mount -A -c {ndb/registry $db} /mnt/registry +} +listen -v 'tcp!*!registry' {export /mnt/registry&} # -n? diff --git a/dis/svc/rstyx b/dis/svc/rstyx new file mode 100755 index 00000000..22f1dd09 --- /dev/null +++ b/dis/svc/rstyx @@ -0,0 +1,4 @@ +#!/dis/sh.dis -n +load std +listen 'tcp!*!rstyx' {runas $user auxi/rstyxd&} +#and {ftest -d /net/il} {listen 'il!*!rstyx' {runas $user auxi/rstyxd&}} diff --git a/dis/svc/styx b/dis/svc/styx new file mode 100755 index 00000000..3c5fde8f --- /dev/null +++ b/dis/svc/styx @@ -0,0 +1,4 @@ +#!/dis/sh.dis -n +load std +listen -v 'tcp!*!styx' {export /&} # -n? +#and {ftest -d /net/il} {listen -v 'il!*!styx' {export /&}} # -n? diff --git a/dis/svc/webget/date.dis b/dis/svc/webget/date.dis Binary files differnew file mode 100644 index 00000000..cc7215c5 --- /dev/null +++ b/dis/svc/webget/date.dis diff --git a/dis/svc/webget/file.dis b/dis/svc/webget/file.dis Binary files differnew file mode 100644 index 00000000..5e48d9af --- /dev/null +++ b/dis/svc/webget/file.dis diff --git a/dis/svc/webget/ftp.dis b/dis/svc/webget/ftp.dis Binary files differnew file mode 100644 index 00000000..74e69843 --- /dev/null +++ b/dis/svc/webget/ftp.dis diff --git a/dis/svc/webget/http.dis b/dis/svc/webget/http.dis Binary files differnew file mode 100644 index 00000000..43d20acc --- /dev/null +++ b/dis/svc/webget/http.dis diff --git a/dis/svc/webget/image2enc.dis b/dis/svc/webget/image2enc.dis Binary files differnew file mode 100644 index 00000000..f6623625 --- /dev/null +++ b/dis/svc/webget/image2enc.dis diff --git a/dis/svc/webget/message.dis b/dis/svc/webget/message.dis Binary files differnew file mode 100644 index 00000000..ca13c127 --- /dev/null +++ b/dis/svc/webget/message.dis diff --git a/dis/svc/webget/webget.dis b/dis/svc/webget/webget.dis Binary files differnew file mode 100644 index 00000000..c029eaf4 --- /dev/null +++ b/dis/svc/webget/webget.dis diff --git a/dis/svc/webget/wgutils.dis b/dis/svc/webget/wgutils.dis Binary files differnew file mode 100644 index 00000000..40682361 --- /dev/null +++ b/dis/svc/webget/wgutils.dis |
