cvs commit: src/usr.sbin/freebsd-update freebsd-update.sh

Colin Percival cperciva at FreeBSD.org
Thu Nov 8 05:06:38 PST 2007


cperciva    2007-11-08 13:06:38 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/freebsd-update freebsd-update.sh 
  Log:
  Two minor improvements uncovered by work on upgrading between releases:
  * When installing updates, make sure that securelevel <= 0.  Otherwise
    we can't remove the schg flag from files.
  * When preparing to download updates, check to see if we already have
    them sitting in the /files/ directory.  This saves bandwidth if users
    run "freebsd-update fetch" more than once without installing updates
    in between.
  
  While I'm here, bump the copyright date.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.9       +14 -2     src/usr.sbin/freebsd-update/freebsd-update.sh


More information about the cvs-all mailing list