shithub: privategrid

ref: dc2e5212f228d7a43b8fe331da9f9675f72b90bb
dir: /gridplumb/

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