freebsd-nq/share
Colin Percival cabad26453 Add support for "first boot" rc.d scripts. [1]
These scripts, containing
# KEYWORD: firstboot
will only be run if a sentinel file (default: /firstboot, configurable
via the rc.conf ${firstboot_sentinel} variable) exists; this sentinel
file will be deleted at the end of the boot process.

Scripts can request that the system reboot after the first boot by
creating the file ${firstboot_sentinel}-reboot.

This functionality is expected to be useful for embedded systems and
virtual machine images, where it may be desirable to
(a) download and install updates which became available between when
the image was created and when it was "turned on";
(b) download and install packages which may be newer than those
which were available when the image was created;
(c) install packages which run binaries during their install process,
bypassing the problem of cross-architecture installs;
(d) resize filesystems to match the disk onto which a VM image was
installed;
(e) perform initialization tasks relevant to cloud systems (e.g.,
Amazon's Elastic Compute Cloud);
and likely to perform many other one-time initialization functions.

Document this new functionality in rc.conf(5) and rc(8). [2]

Reviewed by:	freebsd-current, freebsd-rc [1]
Reviewed by:	Warren Block [2]
MFC after:	3 days
2013-10-19 21:37:06 +00:00
..
colldef
dict Disconnect non-MPSAFE NTFS from the build in preparation for dropping 2012-10-17 11:30:00 +00:00
doc Revert r256095, r256120 (partial), r256121: 2013-10-09 17:07:20 +00:00
dtrace Remove copy/pasteo in the copyright notice. 2012-07-21 07:14:52 +00:00
examples Add an option to bhyveload(8) that allows setting a loader environment variable 2013-10-17 00:28:35 +00:00
i18n share/i18n: Fix installworld with read-only obj. 2013-09-17 20:09:25 +00:00
info Install the template info directory with mode 644 instead of 444 to 2013-01-21 22:54:43 +00:00
man Add support for "first boot" rc.d scripts. [1] 2013-10-19 21:37:06 +00:00
me
misc Fix NetBSD release number 2013-10-11 18:51:37 +00:00
mk Plug kyua into the 'test' target. 2013-10-19 06:52:06 +00:00
mklocale
monetdef Do not overwrite the new UTF-8 files with the old ISO one 2013-07-17 14:00:51 +00:00
msgdef Don't link two different things to the same paths. As tiebreaker I've 2013-01-24 17:00:11 +00:00
numericdef Don't link two different things to the same paths. As tiebreaker I've 2013-01-24 17:00:11 +00:00
security
sendmail
skel Remove hack to emulate effective uid and just use the EUID's name in the 2012-12-05 13:56:39 +00:00
snmp
syscons Fix the formatting for the danish keymap. 2013-10-12 07:00:51 +00:00
tabset
termcap Some software, notably dialog(1), can understand back-tab, which is 2012-11-15 15:05:54 +00:00
timedef
zoneinfo Use find -exec to install zoneinfo instead of requiring xargs to be an 2013-01-11 18:37:51 +00:00
Makefile Remove most of the ATF tools and the _atf user. 2013-10-12 06:06:53 +00:00
Makefile.inc