Last change
on this file since 2179 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
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | cells () { |
---|
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 | } |
---|
9 | kinit -k -t /etc/invirt/keytab daemon/$(hostname -f) |
---|
10 | aklog $(cells) |
---|
11 | python /var/www/invirt-web/cache_acls.py |
---|
Note: See
TracBrowser
for help on using the repository browser.