shithub: privategrid

ref: e4634efe2a36ffb2327c81d428e1da89c5d8376b
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