]>
Commit | Line | Data |
---|---|---|
efd55ca6 | 1 | #!/bin/sh |
2 | # $Id$ | |
3 | ||
4 | file=/var/nagios/etc/moira-printers.cfg | |
5 | ||
6 | if [ -d /var/athena ] && [ -w /var/athena ]; then | |
7 | exec >/var/athena/moira_update.log 2>&1 | |
8 | else | |
9 | exec >/tmp/moira_update.log 2>&1 | |
10 | fi | |
11 | ||
12 | chmod 644 $file | |
13 | ||
14 | exit 0 |