shithub: privategrid

Download patch

ref: de5b2bf9fd6b23805bc0d8094f5d1481126f0e72
parent: a957572dc3c1ebad2c2ef80d8660701b1ba04192
author: glenda <glenda@9front.local>
date: Wed Dec 2 21:44:40 EST 2020

minor change to $name

--- a/initprivategrid
+++ b/initprivategrid
@@ -1,9 +1,9 @@
 #! /bin/rc
-prefix='.'
+prefix='grid'
 while (~ $1 -*){
 	switch($1){
-	case -i
-		inferno = yes
+	case -u
+		allownotls = yes
 		shift
 	case -p
 		shift
@@ -19,9 +19,9 @@
 	$prefix/02infregstart
 	$prefix/03regreg
 }
-$prefix/04chat
-$prefix/05wiki
-$prefix/06ramfs
-$prefix/07gridroot
-$prefix/08ftp
-$prefix/09plumber
+$prefix/griddisk
+$prefix/gribplumb
+if(~ /lib/grid/init){
+	/lib/grid/init
+}
+exit 'started'
--- a/user-scripts/connect
+++ b/user-scripts/connect
@@ -1,6 +1,8 @@
 #! /bin/rc -e
 if($1){
 	url=$1
+	name='pgrid' # TODO make this a sed script that remove's the dot in an ip/url. for example: fulton.software > fultonsoftware, 192.168.0.32 > 192168032
+
 }
 if not{
 	echo 'usage grid/connect [url]'