cvs commit: src/etc/rc.d Makefile hostid src/etc/defaults rc.conf

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Apr 9 19:21:28 UTC 2007


pjd         2007-04-09 19:21:27 UTC

  FreeBSD src repository

  Modified files:
    etc/rc.d             Makefile 
    etc/defaults         rc.conf 
  Added files:
    etc/rc.d             hostid 
  Log:
  Add rc.d/hostid script (turned on by default) which on first boot generates
  UUID and stores it in /etc/hostid ($hostid_file) as well as sets kern.hostuuid
  and kern.hostid sysctls on every boot.
  
  Hostid can be reset using '/etc/rc.d/hostid reset' command.
  
  Hostid generation and setting can be turned off by setting variable
  hostid_enable to "NO" in /etc/rc.conf.
  
  Reviewed by:    mlaier, rink, brooks, rwatson
  
  Revision  Changes    Path
  1.313     +2 -0      src/etc/defaults/rc.conf
  1.81      +1 -1      src/etc/rc.d/Makefile
  1.1       +80 -0     src/etc/rc.d/hostid (new)


More information about the cvs-all mailing list