hcoop-git-maint: Improve detection of bad permissions.
[clinton/scripts.git] / hcoop-backup-wrapper
... / ...
CommitLineData
1#!/bin/bash
2
3exec >& /var/log/backup-to-rsync-wrapper-log
4touch /xyz/zys # generate an error message
5
6fs checkvol
7LOG=/var/log/backup-to-rsync-log
8rm -f $LOG
9echo "groups before k5start" > $LOG
10groups >> $LOG
11exec k5start -f /etc/keytabs/hcoop hcoop@HCOOP.NET -t \
12 $(dirname $0)/hcoop-backup >& $LOG