Date: Mon, 9 Apr 2007 19:21:27 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc/rc.d Makefile hostid src/etc/defaults rc.conf Message-ID: <200704091921.l39JLRuO093353@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704091921.l39JLRuO093353>
