shithub: privategrid

ref: de5b2bf9fd6b23805bc0d8094f5d1481126f0e72
dir: /griddisk/

View raw version
#! /bin/rc
if($allownotls){
	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