code: 9ferno

Download patch

ref: 47e76e81e288741c8e6fee4f69f963551e14985c
parent: 80578f7dfdbe69b48c15d6b8bc18b86f15b04a0b
author: henesy <unknown>
date: Sun May 30 04:24:40 EDT 2021

use 9p.zone as the public grid

--- a/dis/engridden
+++ b/dis/engridden
@@ -1,10 +1,10 @@
 #!/dis/sh
 # If used with `run /dis/engridden`, will load public grid resources into the current namespace
+# Tailored to 9p.zone 
+# In loving memory of Mycroftiv's Public Grid Project
 load std
 
-mount -Ac tcp!registry.9gridchan.org!6675 /mnt/registry
-
-grep 'service /bin/exportfs' /mnt/registry/index | getlines {
-	(srv is srvname mountpoint mpath rest) := ${split ' ' $line}
-	mount -Ac $srv $mpath
-}
+# Pending a better registry method or otherwise
+mount -Ac tcp!registry.9p.zone!registry /mnt/registry
+mount -Ac tcp!chat.9p.zone!9990 /n/chat
+mount -Ac tcp!9p.zone!9991 /n/griddisk
--- a/dis/gridstart
+++ b/dis/gridstart
@@ -1,5 +1,5 @@
 #!/dis/sh
-# Connect to mycroftiv's public grid services
+# Connect to public grid services
 load std
 
 run /dis/engridden
--- a/dis/hubchat
+++ b/dis/hubchat
@@ -1,9 +1,9 @@
 #!/dis/sh
-# Connect to mycroftiv's public grid chat
+# Connect to public grid chat
 load std
 
 cat /n/chat/chat &
-echo JOIN $user from Inferno! >>/n/chat/chat
+echo JOIN $user from Purgatorio! >>/n/chat/chat
 # echo -n '> ' >[1=2]
 getlines{
 	echo $user → $line