shithub: privategrid

ref: 9ea7a82f935a19d9ce61b6cdca12dc098c71c2b1
dir: /gridstart/11griddisk/

View raw version
#!/bin/rc

#rimport -a $regip /srv /n/regsrv
#mount -c /n/regsrv/registry /mnt/registry
#srvfs -p 666 registry /mnt/registry
mount -c /srv/registry /mnt/registry
auth/factotum
#echo 'key proto=dp9ik user=glenda dom=grid !password=9gridchan' >/mnt/factotum/ctl
hub -b listendisk
mount /srv/listendisk /n/listendisk
echo 'gridlisten1 -tv -d griddisk -m /n/griddisk tcp!*!9564 /bin/exportfs -r /usr/none/incoming' >>/n/listendisk/io0
hub -b listendisktls
mount /srv/listendisktls /n/listendisktls
echo 'gridlisten1 -tv -d griddisk -m /n/griddisk tcp!*!19564 tlssrv -A /bin/aux/trampoline tcp!127.1!9564' >>/n/listendisktls/io0