pull 224 B

12345678910111213
  1. #!/bin/rc
  2. rfork e
  3. flags=()
  4. while(! ~ $#* 0 && ~ $1 -*){
  5. flags=($flags $1)
  6. shift
  7. }
  8. if(test -f /srv/kfs.cmd)
  9. disk/kfscmd allow
  10. replica/pull -v $flags /dist/replica/network $*
  11. if(test -f /srv/kfs.cmd)
  12. disk/kfscmd disallow