shithub: riscv

ref: 012dec1119fe41b59bf4f498c835aa7ec2e269f2
dir: /rc/bin/inst/replcfg/

View raw version
#!/bin/rc

s=/n/dist/dist/replica
serverroot=/n/dist
serverlog=$s/plan9.log
serverproto=$s/plan9.proto
fn servermount { status='' } 
fn serverupdate { status='' }

fn clientmount { status='' }
c=/n/newfs/dist/replica
clientroot=/n/newfs
clientproto=$c/plan9.proto
clientdb=$c/client/plan9.db
clientexclude=(dist/replica/client)
clientlog=$c/client/plan9.log

applyopt=(-t -u -T$c/client/plan9.time)