ref: 2f16b33d26814714976cebd409721f032567e432
parent: dc2e5212f228d7a43b8fe331da9f9675f72b90bb
author: glenda <[email protected]>
date: Wed Dec 2 22:04:19 EST 2020
added no auth
--- /dev/null
+++ b/user-scripts/connectnotls
@@ -1,0 +1,17 @@
+#! /bin/rc
+if(test -n $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]'
+ exit 'bad usage'
+}
+srv -c tcp!$url!9564 $name^disk /n/$name^disk
+# srv -c tcp!$url!19998 $name^ram /n/$name^ram
+srv -c tcp!$url!9998 $name^plumb /mnt/plumb
+
+if (test -x /n/$name^disk/init){
+ /n/$name^disk/init
+}