shithub: purgatorio

Download patch

ref: a39ae178fcc4387fe63efea4d15b34d52f4a13de
parent: 6042bb8adffe111049edfcb8b2eb1ad84814ed69
author: henesy <devnull@localhost>
date: Sun May 30 04:24:40 EDT 2021

use 9p.zone as the public grid

--- a/dis/engridden	Mon Dec 14 05:11:56 2020
+++ b/dis/engridden	Sun May 30 04:24:40 2021
@@ -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	Mon Dec 14 05:11:56 2020
+++ b/dis/gridstart	Sun May 30 04:24:40 2021
@@ -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	Mon Dec 14 05:11:56 2020
+++ b/dis/hubchat	Sun May 30 04:24:40 2021
@@ -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