From owner-cvs-src@FreeBSD.ORG Mon Apr 9 19:21:27 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E36D416A400; Mon, 9 Apr 2007 19:21:27 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D5AB613C45E; Mon, 9 Apr 2007 19:21:27 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l39JLRJO093354; Mon, 9 Apr 2007 19:21:27 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l39JLRuO093353; Mon, 9 Apr 2007 19:21:27 GMT (envelope-from pjd) Message-Id: <200704091921.l39JLRuO093353@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Mon, 9 Apr 2007 19:21:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc/rc.d Makefile hostid src/etc/defaults rc.conf X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 19:21:28 -0000 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)