shithub: iso

Download patch

ref: c7abd2e7be5f3f9aff60f18121d47da13e5b279d
parent: b66b5540c1086b85f838dc8010aef180c67445e5
author: moody <moody@remilia>
date: Mon Oct 21 23:57:45 EDT 2024

add some kind of tls

--- a/cpustart
+++ b/cpustart
@@ -1,1 +1,6 @@
+. /cfg/$sysname/env
+key='/sys/lib/tls/acmed/'^$domain^'.key'
+if(test -r $key){
+	cat $key >/mnt/factotum/ctl
+}
 auth/cron
--- /dev/null
+++ b/env
@@ -1,0 +1,1 @@
+domain=iso.only9fans.com
--- /dev/null
+++ b/service/tcp17020
@@ -1,0 +1,2 @@
+#!/bin/rc
+exec tlssrv -A /bin/exportfs -R -r /usr/build/code/plan9front
--- /dev/null
+++ b/service/tcp443
@@ -1,0 +1,4 @@
+#!/bin/rc
+. /cfg/$sysname/env
+execfs -m /n/magic /cfg/$sysname/src/execfs/builds/rules
+exec tlssrv -c /sys/lib/tls/acmed/$domain.crt -r`{cat $3/remote} /bin/tcp80 >>[2]/sys/log/www