/[fai]/trunk/bin/make-fai-nfsroot
ViewVC logotype

Diff of /trunk/bin/make-fai-nfsroot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5473 by lange, Sun Jul 19 21:07:56 2009 UTC revision 5474 by lange, Tue Jul 21 18:45:34 2009 UTC
# Line 507  echo "By default it needs more than 390 Line 507  echo "By default it needs more than 390
507  echo "This may take a long time."  echo "This may take a long time."
508    
509  if [ $sshpreserve = 1 ]; then  if [ $sshpreserve = 1 ]; then
510        [ "$verbose" ] && echo "Preserving root/.ssh directory from inside the nfroot."
511      # save old .ssh directory      # save old .ssh directory
512      tmptar=$(mktemp) || exit 12      tmptar=$(mktemp) || exit 12
513      # should we set the umask before? Does it influence the other parts?      # should we set the umask before? Does it influence the other parts?
514      tar -C $NFSROOT -cvf $tmptar root/.ssh      tar -C $NFSROOT -cf $tmptar root/.ssh
515  fi  fi
516    
517  # Kill the directory if not in recover mode  # Kill the directory if not in recover mode

Legend:
Removed from v.5473  
changed lines
  Added in v.5474

  ViewVC Help
Powered by ViewVC 1.1.5