shithub: privategrid

ref: 0977a7e8e671e28fff6ea08e4171b86427f28479
dir: /gridplumb/

View raw version
#!/bin/rc
cd $home/gridmods
if(test -n $allownotls){
	hub -b listenplumber
	mount /srv/listenplumber /n/listenplumber
	echo 'plumber' >>/n/listenplumber/io0
	sleep 1
	chmod 666 /srv/plumb.glenda*
	echo 'listen1 -tv tcp!*!9998 /bin/exportfs -S ' /srv/plumb.glenda* >>/n/listenplumber/io0
}
hub -b listenplumbertls
mount /srv/listenplumbertls /n/listenplumbertls
echo 'listen1 -tv tcp!*!19998 tlssrv -A /bin/aux/trampoline tcp!127.1!9998' >>/n/listenplumbertls/io0