hcoop-backup: Tidy up some UUOC.
[clinton/scripts.git] / hcoop-backup-wrapper
CommitLineData
4b645870 1#!/bin/bash
2
3exec >& /var/log/backup-to-megacz.com-wrapper-log
4touch /xyz/zys # generate an error message
5
6fs checks -cell megacz.com
7fs checkvol
8rm -f /var/log/backup-to-megacz.com-log
9echo "groups before k5start" > /var/log/backup-to-megacz.com-log
10groups >> /var/log/backup-to-megacz.com-log
11export KINIT_PROG='aklog -c hcoop.net;aklog -c megacz.com'
12exec k5start -f /etc/keytabs/hcoop hcoop@HCOOP.NET -t \
13 /afs/hcoop.net/common/etc/scripts/hcoop-backup