source: trunk/packages/invirt-web/invirt-cache-acls @ 2405

Last change on this file since 2405 was 1949, checked in by price, 16 years ago

invirt-cache-acls: get afs cell list from invirt-config

  • Property svn:executable set to *
File size: 280 bytes
RevLine 
[1947]1#!/bin/sh
[1949]2cells () {
3  for i in $(invirt-getconf -l authz); do
4    if [ afs = "$(invirt-getconf authz.$i.type)" ]; then
5      invirt-getconf authz.$i.cell
6    fi
7  done
8}
[1947]9kinit -k -t /etc/invirt/keytab daemon/$(hostname -f)
[1949]10aklog $(cells)
[1947]11python /var/www/invirt-web/cache_acls.py
Note: See TracBrowser for help on using the repository browser.