cvs commit: src/libexec/save-entropy save-entropy.sh

Doug Barton dougb at FreeBSD.org
Mon Aug 28 06:41:50 UTC 2006


dougb       2006-08-28 06:41:50 UTC

  FreeBSD src repository

  Modified files:
    libexec/save-entropy save-entropy.sh 
  Log:
  1. Attempt to take one bullet out of the foot-shooting gun by silently
  ignoring errors when sourcing rc.conf* files. The most common error
  occurs when users put a command of some sort into those files.
  (ifconfig is a popular choice)
  
  2. Make the file rotation logic simpler by starting one down from
  the "top" of the list, rather than at the top.
  
  3. Try to make file rotation more secure by calling unlink(1) on all
  new file names before rotating an old file to the new name, rather than
  merely calling 'rm -f' on any files that exceed the number of files
  to save.
  
  Revision  Changes    Path
  1.4       +10 -10    src/libexec/save-entropy/save-entropy.sh


More information about the cvs-src mailing list