shithub: privategrid

ref: f048be44f784666f895b075d4a4a7e2e9c36ce61
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!127.1!9564' >>/n/listendisktls/io0