X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/544d8ae78221ce603aad719ced275649a5ffd60d..c0e64855a967519169d9c5d8747edbdeb85e49ec:/invirt-cache-acls?ds=sidebyside diff --git a/invirt-cache-acls b/invirt-cache-acls index b099eca..79a7650 100755 --- a/invirt-cache-acls +++ b/invirt-cache-acls @@ -1,9 +1,7 @@ #!/bin/sh cells () { - for i in $(invirt-getconf -l authz); do - if [ afs = "$(invirt-getconf authz.$i.type)" ]; then - invirt-getconf authz.$i.cell - fi + for i in $(invirt-getconf -l authz.afs.cells); do + invirt-getconf authz.afs.cells.$i.cell done } kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)