wm: infra

ref: ddd839ff7cfa099f8c363d9c790a9ef10026b52c
dir: /cfg/wm/cpurc/

View raw version
#!/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