cabad26453
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 |
||
---|---|---|
.. | ||
a.out.5 | ||
acct.5 | ||
ar.5 | ||
bluetooth.device.conf.5 | ||
bluetooth.hosts.5 | ||
bluetooth.protocols.5 | ||
boot.config.5 | ||
core.5 | ||
devfs.5 | ||
devfs.conf.5 | ||
devfs.rules.5 | ||
device.hints.5 | ||
dir.5 | ||
disktab.5 | ||
elf.5 | ||
ethers.5 | ||
eui64.5 | ||
ext2fs.5 | ||
fbtab.5 | ||
fdescfs.5 | ||
forward.5 | ||
freebsd-update.conf.5 | ||
fs.5 | ||
fstab.5 | ||
group.5 | ||
hesiod.conf.5 | ||
hosts.5 | ||
hosts.equiv.5 | ||
hosts.lpd.5 | ||
intro.5 | ||
libmap.conf.5 | ||
link.5 | ||
linprocfs.5 | ||
linsysfs.5 | ||
mailer.conf.5 | ||
make.conf.5 | ||
Makefile | ||
moduli.5 | ||
motd.5 | ||
mqueuefs.5 | ||
msdosfs.5 | ||
nandfs.5 | ||
networks.5 | ||
nsmb.conf.5 | ||
nsswitch.conf.5 | ||
nullfs.5 | ||
passwd.5 | ||
pbm.5 | ||
periodic.conf.5 | ||
pf.conf.5 | ||
pf.os.5 | ||
phones.5 | ||
portindex.5 | ||
portsnap.conf.5 | ||
procfs.5 | ||
protocols.5 | ||
quota.user.5 | ||
rc.conf.5 | ||
rctl.conf.5 | ||
regdomain.5 | ||
reiserfs.5 | ||
remote.5 | ||
resolver.5 | ||
services.5 | ||
shells.5 | ||
src.conf.5 | ||
stab.5 | ||
style.Makefile.5 | ||
sysctl.conf.5 | ||
tmpfs.5 |