wm: infra

Download patch

ref: d969ec6e7b25aa3e4aad0004e9f537bacb50eed1
parent: c40d6cb1f40b9bdaa28d0d39d2ae046753e40849
author: mkf <mkf@cloud9p.org>
date: Mon Jan 22 03:11:57 EST 2024

wm/cpurc: import

diff: cannot open b/cfg/wm//null: file does not exist: 'b/cfg/wm//null' diff: cannot open b/cfg//null: file does not exist: 'b/cfg//null'
--- /dev/null
+++ b/cfg/wm/cpurc
@@ -1,0 +1,20 @@
+#!/bin/rc
+# chat
+hubfs -s grid.chat
+mount -c /srv/grid.chat /n/chat
+touch /n/chat/chat
+mkdir /n/chat/subline
+chmod 666 /srv/grid.chat
+
+# services
+# tcp80, tcp900, etc
+
+aux/listen -q -d /cfg/wm/serv tcp
+aux/listen -q -d /cfg/wm/serv il
+
+# dns
+ndb/dns -s
+
+# grid's ramfs, required for tcp80 and troffwiki
+ramfs -S grid.ramfs
+chmod 606 /srv/grid.ramfs