freebsd-dev/etc/rc.d/Makefile
Ed Schouten c21ae3a403 Move utmpx handling out of init(8).
This has the following advantages:

- During boot, the BOOT_TIME record is now written right after the file
  systems become writable, but before users are allowed to log in. This
  means that they can't cause `hidden logins' by logging in right before
  init(8) kicks in.

- The pututxline(3) function may potentially block on file locking,
  though this is very rare to occur. By placing it in an rc script, the
  user can still kill it with ^C if needed.

- Most importantly: jails don't use init(8). This means that a force
  reboot of a system running jails will leave stale entries in the
  accounting database of the jails individually.
2012-02-11 20:47:16 +00:00

189 lines
2.0 KiB
Makefile

# $FreeBSD$
.include <bsd.own.mk>
FILES= DAEMON \
FILESYSTEMS \
LOGIN \
NETWORKING \
SERVERS \
abi \
accounting \
addswap \
adjkerntz \
amd \
apm \
apmd \
archdep \
atm1 \
atm2 \
atm3 \
auditd \
bgfsck \
bluetooth \
bootparams \
bridge \
bsnmpd \
bthidd \
ccd \
cleanvar \
cleartmp \
cron \
ddb \
defaultroute \
devd \
devfs \
dhclient \
dmesg \
dumpon \
encswap \
faith \
fsck \
ftp-proxy \
ftpd \
gbde \
geli \
geli2 \
gptboot \
gssd \
hastd \
hcsecd \
hostapd \
hostid \
hostid_save \
hostname \
inetd \
initrandom \
ip6addrctl \
ipfilter \
ipfs \
ipfw \
ipmon \
ipnat \
ipsec \
${_ipxrouted} \
jail \
kadmind \
kerberos \
keyserv \
kld \
kldxref \
kpasswdd \
ldconfig \
local \
localpkg \
lockd \
lpd \
mixer \
motd \
mountcritlocal \
mountcritremote \
mountlate \
mdconfig \
mdconfig2 \
mountd \
moused \
mroute6d \
mrouted \
msgs \
named \
natd \
netif \
netoptions \
netwait \
newsyslog \
nfsclient \
nfscbd \
nfsd \
nfsuserd \
nisdomain \
${_nscd} \
nsswitch \
ntpd \
ntpdate \
${_opensm} \
othermta \
pf \
pflog \
pfsync \
powerd \
power_profile \
ppp \
pppoed \
pwcheck \
quota \
random \
rarpd \
rctl \
resolv \
rfcomm_pppd_server \
root \
route6d \
routed \
routing \
rpcbind \
rtadvd \
rtsold \
rwho \
savecore \
sdpd \
securelevel \
sendmail \
serial \
sppp \
${_sshd} \
statd \
static_arp \
static_ndp \
stf \
swap1 \
syscons \
sysctl \
syslogd \
timed \
tmp \
${_ubthidhci} \
ugidfw \
${_utx} \
var \
virecover \
watchdogd \
wpa_supplicant \
ypbind \
yppasswdd \
ypserv \
ypset \
ypupdated \
ypxfrd \
zfs \
zvol
.if ${MK_IPX} != "no"
_ipxrouted= ipxrouted
.endif
.if ${MK_OFED} != "no"
_opensm= opensm
.endif
.if ${MK_OPENSSH} != "no"
_sshd= sshd
.endif
.if ${MK_NS_CACHING} != "no"
_nscd= nscd
.endif
.if ${MK_BLUETOOTH} != "no"
_ubthidhci= ubthidhci
.endif
.if ${MK_UTMPX} != "no"
_utx= utx
.endif
FILESDIR= /etc/rc.d
FILESMODE= ${BINMODE}
.include <bsd.prog.mk>