shithub: privategrid

ref: 3c11f684f57bbd145b472a9cd3aa1a5dbb28713f
dir: /09plumber/

View raw version
#!/bin/rc

#myip=107.191.50.176
rimport -a cpu64 /srv
mount -c /srv/registry /mnt/registry
mount /srv/gridram /n/gridram
mount /srv/boot /n/gridroot
auth/factotum
#echo 'key proto=dp9ik user=glenda dom=grid !password=9gridchan' >/mnt/factotum/ctl
#echo 'none
#none
#' | ftpfs tcp!cpu64!10021
bind -c /n/ftp/incoming /n/gridftp
bind  /usr/none/incoming /n/griddisk
bind  /usr/none/incoming /n/gridftp
cd $home/gridmods
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