]> andersk Git - moira.git/blame - gen/sapprint.sh
syslog instead of spewing to stdout.
[moira.git] / gen / sapprint.sh
CommitLineData
abb00e7a 1#! /bin/sh
2# $Id$
3
4# The following exit codes are defined and MUST BE CONSISTENT with the
5# error codes the library uses:
6MR_MISSINGFILE=47836473
7
8PATH=/bin
9OUTFILE=/var/tmp/sapprint.out
10
11# Alert if the output file doesn't exist
12test -r $OUTFILE || exit $MR_MISSINGFILE
13
14# Set the perms usefully
15chown root $OUTFILE
16chgrp 0 $OUTFILE
17chmod 644 $OUTFILE
18
19# cleanup
20test -f $0 && rm -f $0
21
22exit 0
This page took 0.054407 seconds and 5 git commands to generate.