#!/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
  done
}
kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)
aklog $(cells)
python /var/www/invirt-web/cache_acls.py
