shithub: privategrid

Download patch

ref: 9bc0e69e9b211d08a367e80a27608926cefa99cd
parent: 4daa330599b189b874af87bbe71c36b26f01199b
author: glenda <glenda@9front.local>
date: Thu Dec 3 03:25:02 EST 2020

now tls only

--- a/griddisk	Thu Dec  3 02:42:15 2020
+++ b/griddisk	Thu Dec  3 03:25:02 2020
@@ -1,9 +1,4 @@
 #! /bin/rc
-if(test -n $allownotls){
-	hub -b listendisk
-	mount /srv/listendisk /n/listendisk
-	echo 'aux/listen1 -tv tcp!*!9564 /bin/exportfs -r $home' >>/n/listendisk/io0
-}
 hub -b listendisktls
 mount /srv/listendisktls /n/listendisktls
 # echo 'aux/listen1 -tv tcp!*!19564 tlssrv -A /bin/aux/trampoline tcp!*!9564' >>/n/listendisktls/io0
--- a/gridplumb	Thu Dec  3 02:42:15 2020
+++ b/gridplumb	Thu Dec  3 03:25:02 2020
@@ -1,13 +1,8 @@
 #!/bin/rc
-cd $home/gridmods
-if(test -n $allownotls){
-	hub -b listenplumber
-	mount /srv/listenplumber /n/listenplumber
-	echo 'plumber' >>/n/listenplumber/io0
-	sleep 1
-	chmod 666 /srv/plumb.glenda*
-	echo 'aux/listen1 -tv tcp!*!9998 /bin/exportfs -S ' /srv/plumb.glenda* >>/n/listenplumber/io0
-}
 hub -b listenplumbertls
-mount /srv/listenplumbertls /n/listenplumbertls
-echo 'aux/listen1 -tv tcp!*!19998 tlssrv -A /bin/aux/trampoline tcp!127.1!9998' >>/n/listenplumbertls/io0
+mount /srv/listenplumber /n/listenplumbertls
+echo 'plumber' >>/n/listenplumbertls/io0
+sleep 1
+chmod 666 /srv/plumb.glenda*
+echo 'aux/listen1 -tv tcp!*!9998 tlssrv -A /bin/exportfs -S ' /srv/plumb.glenda* >>/n/listenplumber/io0
+hub -b listenplumbertls