shithub: privategrid

ref: de5b2bf9fd6b23805bc0d8094f5d1481126f0e72
dir: /gridstart/06ramfs/

View raw version
#!/bin/rc

#myip=45.76.231.117
rimport -a cpu32 /srv
mount -c /srv/registry /mnt/registry
#auth/factotum
#echo 'key proto=dp9ik user=glenda dom=grid !password=9gridchan' >/mnt/factotum/ctl
ramfs -S gridram
chmod 666 /srv/gridram
hub -b listengridram
mount /srv/listengridram /n/listengridram
echo 'gridlisten1 -tv -d gridram -m /n/gridram tcp!*!9996 /bin/exportfs -S /srv/gridram' >>/n/listengridram/io0
hub -b listengridramtls
mount /srv/listengridramtls /n/listengridramtls
echo 'gridlisten1 -tv -d gridram -m /n/gridram tcp!*!19996 tlssrv -A /bin/aux/trampoline tcp!127.1!9996' >>/n/listengridramtls/io0