]> andersk Git - moira.git/commitdiff
prefer /usr/etc to /var/athena for creddir, to support 8.2 machines.
authorzacheiss <zacheiss>
Thu, 25 May 2000 05:43:22 +0000 (05:43 +0000)
committerzacheiss <zacheiss>
Thu, 25 May 2000 05:43:22 +0000 (05:43 +0000)
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.056866 seconds and 5 git commands to generate.