]> andersk Git - moira.git/blobdiff - gen/nfs.sh
use path to find mkcred
[moira.git] / gen / nfs.sh
index f9f6039a8fba79e83270f8b95acd57a13871aa8a..a400eb260c79dc6d4e2b6167175942912b59ce44 100644 (file)
@@ -10,7 +10,7 @@ set MR_NOCRED = 47836470
 set MR_MKCRED = 47836474
 set MR_TARERR = 47836476
 
-set path=(/etc /bin /usr/bin /usr/etc)
+set path=(/etc /bin /usr/bin /usr/etc /usr/athena/etc)
 set nonomatch
 
 # The file containg the information for the update
@@ -52,6 +52,8 @@ foreach type (dirs quotas)
        if ($status) exit $status
        if ($type == quotas) ./zero_quotas $dev < $i
        if ($status) exit $status
+       # save the files used here for later debugging
+       mv $i /tmp
      endif
    end
 end
@@ -61,7 +63,7 @@ rm -f /usr/etc/credentials.new
 cp ${uchost}.cred /usr/etc/credentials.new
 if ($status) exit $MR_NOCRED
 
-/usr/etc/mkcred /usr/etc/credentials.new
+mkcred /usr/etc/credentials.new
 if ($status) exit $MR_MKCRED
 
 # Try to install the files
This page took 0.086922 seconds and 4 git commands to generate.