shithub: privategrid

ref: 4daa330599b189b874af87bbe71c36b26f01199b
dir: /griddisk/

View raw version
#! /bin/rc
if(test -n $allownotls){
	hub -b listendisk
	mount /srv/listendisk /n/listendisk
	echo 'aux/listen1 -tv tcp!*!9564 /bin/exportfs -r $home' >>/n/listendisk/io0
}
hub -b listendisktls
mount /srv/listendisktls /n/listendisktls
# echo 'aux/listen1 -tv tcp!*!19564 tlssrv -A /bin/aux/trampoline tcp!*!9564' >>/n/listendisktls/io0
echo 'aux/listen1 -tv tcp!*!19564 tlssrv -A /bin/exportfs -r $home' >>/n/listendisktls/io0