wm: infra

Download patch

ref: 5c3c35b6daedbd9dea5f9201335f62855a45d714
parent: e61f14729a8087126515a81c94a3d95f7aa79ac8
author: saeed <saeed@cloud9p.org>
date: Mon Aug 25 18:39:51 IDT 2025

cpu(start,rc): update to latest verion

--- a/plan9/cfg/wm/cpurc
+++ b/plan9/cfg/wm/cpurc
@@ -11,10 +11,9 @@
 
 aux/listen -q -d /cfg/$sysname/service/ il
 
-# dns
-ndb/dns -s
-# dns over tls
-#ndb/dns -c /sys/lib/tls/acmed/cloud9p.org.crt
+# dns and DoT
+ndb/dns -Rs
+#ndb/dns -sc /sys/lib/tls/acmed/cloud9p.org.crt
 
 # grid's ramfs, required for tcp80 and troffwiki
 ramfs -S grid.ramfs
@@ -21,7 +20,7 @@
 chmod 606 /srv/grid.ramfs
 
 # grid's radio
-# radio no longer uses our nfs
+# grid no longer uses our nfs
 #srvfs grid.audio /usr/pub/audio/
 
 # tls keys
@@ -30,3 +29,4 @@
 # mail
 # this used to live in /bin/service and then /cfg/wm/serv,
 # but since it needs to run as upas user, we need to run it seprately
+#ircd tcp!*!6667 &
--- a/plan9/cfg/wm/cpustart
+++ b/plan9/cfg/wm/cpustart
@@ -1,11 +1,13 @@
-#!/bin/sh
+#!/bin/rc
 # tls keys
 # need to started after factotum
-
 auth/secstored
-auth/secstore -n -G factotum >> /mnt/factotum/ctl
+auth/secstore -n -G factotum  >> /mnt/factotum/ctl
 
 # mail
 # this used to live in /bin/service and then /cfg/wm/serv
 site=cloud9p.org
+upas/ratfs
 auth/as upas aux/listen -p 128 -t /cfg/$sysname/service.upas
+
+ircd tcp!*!6667 &
--