]> andersk Git - moira.git/blobdiff - gen/nfs.sh
New strategy: use Pro*C so it's less absymally slow.
[moira.git] / gen / nfs.sh
index 1924ea9a426723cc37c9e46f736ebcb0b690a932..67514adbeaddf4dcf3272c22518cdfef9b4b8583 100644 (file)
@@ -6,13 +6,16 @@
 # redirect output, and find the credentials directory (not robust, but
 # works for now).
 if [ -d /var/athena ] && [ -w /var/athena ]; then
-    creddir=/var/athena
     exec >/var/athena/moira_update.log 2>&1
 else 
-    creddir=/usr/etc
     exec >/tmp/moira_update.log 2>&1
 fi
 
+creddir=/var/athena
+if [ -d /usr/etc ]; then
+    creddir=/usr/etc
+fi
+
 # The following exit codes are defined and MUST BE CONSISTENT with the 
 # error codes the library uses:
 MR_NOCRED=47836470
This page took 0.041791 seconds and 4 git commands to generate.