Overview
Comment: | rename, make silent, add correct logging, collapse command |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7a1e7f4a58d862880ac7dd2d4f1ec9cb |
User & Date: | arcade on 2019-10-21 16:17:43.291 |
Other Links: | manifest | tags |
Context
2019-10-21
| ||
18:57 | add some targets, add fsck fallbacks check-in: 5621f7a556 user: arcade tags: trunk | |
16:17 | rename, make silent, add correct logging, collapse command check-in: 7a1e7f4a58 user: arcade tags: trunk | |
15:38 | fix automountd, fix daemon, change daemonizers description check-in: be4f89a54b user: arcade tags: trunk | |
Changes
Renamed and modified
DAEMON.init
[2fcd4984e5]
to DAEMON.init.mk
[dc2ec65e61].
|
| < < | 1 | DAEMON: pwcheck sysctl sysdb NETWORK SERVERS ldconfig nfsclient |
Renamed and modified
LOGIN.init
[136f24f259]
to LOGIN.init.mk
[7c6404fe75].
|
| < < | 1 | LOGIN: DAEMON dntpd |
Modified Makefile
from [aa2a86c99e]
to [71a8a084f3].
︙ | ︙ | |||
9 10 11 12 13 14 15 | .endfor .if !target(_service) || !target(_earlyservice) .error No service handler defined. .endif #.MAKE.JOBS?=2 | | | | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | .endfor .if !target(_service) || !target(_earlyservice) .error No service handler defined. .endif #.MAKE.JOBS?=2 .SILENT: .if defined(AUTOBOOT) SCRIPTS=${:!find /etc/mrc -name '*.init.mk' -o -name '*.service.mk'!:S/\/etc\/mrc\///} .ERROR: : ERROR: ABORTING BOOT (sending SIGTERM to parent)! : target ${.ERROR_TARGET} failed to execute: : ${.ERROR_CMD} kill 1 .else SCRIPTS=${:!find /etc/mrc -name '*.service.mk'!:S/\/etc\/mrc\///} DAEMON: NETWORK SERVERS LOGIN: DAEMON NETWORK: SERVERS: SERVICE: .endif test: echo Empty target. TARGETS:=${SCRIPTS:S/.init.mk//:S/.service.mk//} .MAIN: ${TARGETS} .PHONY: ${TARGETS} ${OTHER_TARGETS} .undef TARGETS OTHER_TARGETS |
︙ | ︙ |
Renamed and modified
NETWORK.init
[b7849561ac]
to NETWORK.init.mk
[491e93b769].
|
| < < | 1 | NETWORK: ifconfig devd hostname |
Renamed and modified
SERVERS.init
[d50c8e1dc5]
to SERVERS.init.mk
[ff56eff9b9].
|
| < < | 1 | SERVERS: swap mountlate syslogd |
Name change
from SERVICE.init
to SERVICE.init.mk.
Renamed and modified
adjkerntz.init
[eee30e92f3]
to adjkerntz.init.mk
[e804eafdd9].
|
| < < | | 1 2 3 | adjkerntz: random mount echo "MRC:$@> Adjust kernel timezone." adjkerntz -i |
Renamed and modified
automountd.service
[8797d31f75]
to automountd.service.mk
[893e4994fc].
|
| < < | 1 2 3 4 5 6 | DAEMON_automountd_COMMAND?=/usr/sbin/automountd DAEMON_automountd_ENABLE?=no DAEMON_automountd_MODULES=autofs automountd: _service # nfsclient -> DAEMON test -z "$${DAEMON_$@_ENABLE}" || /usr/sbin/automount |
Renamed and modified
bootfs.init
[fe88b08ad6]
to bootfs.init.mk
[d887eb8b56].
|
| < < | | 1 2 3 | bootfs: fsck echo "MRC:$@> Checking whether we need /boot mounted." mount -vadr | grep -q ' /boot$$' && mount -r /boot || true |
Renamed and modified
cleanvar.init
[5e3d4397f9]
to cleanvar.init.mk
[924d7d284c].
|
| < < > | 1 2 3 4 5 6 7 8 | CLEANVAR_DIRS?=/var/run /var/spool/lock /var/spool/uucp/.Temp cleanvar: mount echo "MRC:$@> Cleaning 'var's." .for dir in ${CLEANVAR_DIRS} -test -d ${dir} && find ${dir} -mindepth 1 -delete .endfor install -m644 /dev/null /var/run/utmpx |
Renamed and modified
cloned.init
[64db65eb84]
to cloned.init.mk
[4278e3af4f].
|
| < < > | 1 2 3 4 5 | cloned: kld echo "MRC:$@> Cloning interfaces: ${CLONED_INTERFACES}" .for iface in ${CLONED_INTERFACES} ifconfig ${iface} create .endfor |
Renamed and modified
cron.service
[ac701026a0]
to cron.service.mk
[92e5ef7779].
|
| < < | 1 2 3 4 | DAEMON_cron_COMMAND?=/usr/sbin/cron DAEMON_cron_FLAGS?=-s cron: _service LOGIN |
Modified daemon.starter.mk
from [d0657fc3d2]
to [8d142dec6f].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | LOCAL_TARGETS:=_service_daemon _earlyservice_daemon OTHER_TARGETS+=${LOCAL_TARGETS} .if ${STARTER} == "daemon" LOCAL_TARGETS+=_service _earlyservice .endif .for target in ${LOCAL_TARGETS} ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice.*/SERVICE/} .USE test -z "$${DAEMON_$@_ENABLE}" || { \ test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \ daemon -c -u ${DAEMON_$@_USER:Uroot} -r -P /var/run/daemon.$@.pid ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \ } .endfor .undef LOCAL_TARGETS | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | LOCAL_TARGETS:=_service_daemon _earlyservice_daemon OTHER_TARGETS+=${LOCAL_TARGETS} .if ${STARTER} == "daemon" LOCAL_TARGETS+=_service _earlyservice .endif .for target in ${LOCAL_TARGETS} ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice.*/SERVICE/} .USE test -z "$${DAEMON_$@_ENABLE}" || { \ echo "MRC:$@> Starting service."; \ test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \ daemon -c -u ${DAEMON_$@_USER:Uroot} -r -P /var/run/daemon.$@.pid ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \ } .endfor .undef LOCAL_TARGETS |
Renamed and modified
dbus.service
[d18fa9f825]
to dbus.service.mk
[3c4514b521].
|
| < < < | 1 2 3 4 5 6 7 8 9 | DAEMON_dbus_COMMAND?=/usr/local/bin/dbus-daemon DAEMON_dbus_ENABLE?=no DAEMON_dbus_FLAGS?=--system dbus: _service test -z "$${DAEMON_$@_ENABLE}" || { \ /usr/local/bin/dbus-uuidgen --ensure; \ mkdir -p /var/run/dbus; \ } |
Renamed and modified
devd.service
[8deb19d51a]
to devd.service.mk
[da6509a51a].
|
| < < | 1 2 3 4 5 6 | DAEMON_devd_COMMAND?=/sbin/devd DAEMON_devd_ENABLE?=yes DAEMON_devd_FLAGS?=-dq devd: _earlyservice test -n "$${DAEMON_$@_ENABLE}" || sysctl hw.bus.devctl_disable=1 |
Renamed and modified
devfs.init
[1eeb4f1711]
to devfs.init.mk
[6873f9fe09].
|
| < < | | 1 2 3 4 5 6 7 8 9 | DEVFS_CONFIG_FILES?=/etc/defaults/devfs.conf /etc/devfs.conf devfs: echo "MRC:$@> Applying rules: ${DEVFS_CONFIG_FILES}" .for file in ${DEVFS_CONFIG_FILES} .if exists(${file}) devfsctl -a -f ${file} .endif .endfor |
Renamed and modified
dhcpcd.service
[5138660a27]
to dhcpcd.service.mk
[159b100528].
|
| < < | 1 2 3 4 5 | DAEMON_dhcpcd_COMMAND?=/sbin/dhcpcd DAEMON_dhcpcd_ENABLE?=no DAEMON_dhcpcd_FLAGS?=-B dhcpcd: _service NETWORK SERVICE # mount -> SERVICE, cleanvar -> SERVICE |
Renamed and modified
dmesg.init
[373e27376b]
to dmesg.init.mk
[9b6658ca02].
|
| < < | | 1 2 3 4 5 | DMESG_FILE?=/var/run/dmesg.boot dmesg: mountlate echo "MRC:$@> Writing dmesg." umask 022 ; dmesg -a >> ${DMESG_FILE} |
Renamed and modified
dntpd.service
[3a00bb5eee]
to dntpd.service.mk
[d946b05541].
|
| < < | 1 2 3 4 | DAEMON_dntpd_COMMAND?=/usr/sbin/dntpd DAEMON_dntpd_FLAGS?=-F dntpd: _service NETWORK |
Renamed and modified
dumpon.init
[839662713b]
to dumpon.init.mk
[c2234e19da].
|
| < < > | | > | 1 2 3 4 5 6 7 | DUMPDEV?=no dumpon: random test -e ${DUMPDEV} && { \ echo "MRC:$@> Setting dumpon device to ${DUMPDEV}"; \ dumpon -v ${DUMPDEV}; \ } || true |
Renamed and modified
fsck.init
[1755acd658]
to fsck.init.mk
[cc68b20a5b].
|
| < < | | 1 2 3 | fsck: echo "MRC:$@> Checking disks." fsck -p |
Renamed and modified
hostname.init
[99996f3f18]
to hostname.init.mk
[e13e61205f].
|
| < < | | 1 2 3 4 5 | HOSTNAME?=Amnesiac hostname: echo "MRC:$@> Setting to ${HOSTNAME}." hostname ${HOSTNAME} |
Renamed and modified
ifconfig.init
[9b0a9c5a88]
to ifconfig.init.mk
[b59b15c824].
|
| < < | | 1 2 3 4 5 6 7 8 | IFCONFIG_IFACES?=lo0 IFCONFIG_lo0?=inet 127.0.0.1/8 up ifconfig: adjkerntz wlans cloned kld echo "MRC:$@> Starting interfaces: ${IFCONFIG_IFACES}" .for iface in ${IFCONFIG_IFACES} ifconfig ${iface} ${IFCONFIG_${iface}} .endfor |
Renamed and modified
inetd.service
[efb3e5ff2b]
to inetd.service.mk
[51f53a7bec].
|
| < < | 1 2 3 4 5 | DAEMON_inetd_COMMAND?=/usr/sbin/inetd DAEMON_inetd_enable?=no DAEMON_inetd_FLAGS?=-C 60 inetd: _service LOGIN |
Renamed and modified
kld.init
[ed8e95636b]
to kld.init.mk
[4db3c3f5d6].
|
| < < > | 1 2 3 4 5 | kld: bootfs .if defined(KLD_LIST) echo "MRC:$@> Loading kernel modules: ${KLD_LIST}" kldload -n ${KLD_LIST} .endif |
Renamed and modified
ldconfig.init
[841d8ebf1e]
to ldconfig.init.mk
[82b48d4f36].
|
| < < | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | LDCONFIG_PATHS?=/lib /usr/lib /usr/local/lib /usr/pkg/lib LDCONFIG_LOCAL_DIRS?=/usr/local/libdata/ldconfig .for path in ${LDCONFIG_PATHS} /etc/ld-elf.so.conf .if exists(${path}) ldc+=${path} .endif .endfor .for dir in ${LDCONFIG_LOCAL_DIRS} .if exists(${dir}) ldc+=${:!find ${dir} -type f!} .endif .endfor ldconfig: mountlate echo "MRC:$@> Initializing shared libraries: ${ldc}"; \ ldconfig -elf ${ldc} |
Renamed and modified
mixer.init
[8a21860450]
to mixer.init.mk
[b996d1d21a].
|
| < < | | 1 2 3 4 5 6 7 | mixers=${:!find /dev -name 'mixer*'!:S/\/dev\///} mixer: mount cleanvar echo "MRC:$@> Restoring levels." .for mixer in ${mixers} -test -f /var/db/${mixer}-state && mixer -f /dev/${mixer} `cat /var/db/${mixer}-state` .endfor |
Renamed and modified
mount.init
[d32e728f74]
to mount.init.mk
[12f98edc5e].
|
| < < | | 1 2 3 4 5 6 7 | NETFS_TYPES?=nfs:NFS smbfs:SMB excludes=${NETFS_TYPES:C/:.*//} mount: root echo "MRC:$@> Mount local FS." mount -a -t no${excludes:ts,} |
Renamed and modified
mountd.service
[0f08f29ddb]
to mountd.service.mk
[d8ee6e6803].
|
| < < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 | DAEMON_mountd_COMMAND?=/sbin/mountd DAEMON_mountd_ENABLE?=no DAEMON_mountd_FLAGS?=-r .if empty(DAEMON_mountd_ENABLE:tl:Mno) DAEMON_rpcbind_ENABLE=yes .endif mountd: rpcbind NETWORK SERVERS _service # mountlate -> SERVERS test -z "$${DAEMON_$@_ENABLE}" || { \ rm -f /var/db/mountdtab; \ ( umask 022 ; touch /var/db/mountdtab ); \ } |
Renamed and modified
mountlate.init
[7e2dc73cc9]
to mountlate.init.mk
[9d4d422199].
|
| < < | | 1 2 3 | mountlate: NETWORK mount cleanvar runshm devd echo "MRC:$@> Mount late FS." mount -a |
Renamed and modified
nextboot.init
[50b0d84d08]
to nextboot.init.mk
[71e854ad00].
|
| < < | | 1 2 3 4 5 | nextboot: mount .if exists(/boot/nextkernel) echo "MRC:$@> Removing nextboot setting." rm -f /boot/nextkernel .endif |
Renamed and modified
nfsclient.init
[c3da5a4199]
to nfsclient.init.mk
[f1a8b2de56].
|
| < < < | 1 2 3 4 5 6 7 8 | NFSCLIENT_ENABLE?=no .if empty(NFSCLIENT_ENABLE:tl:Mno) DAEMON_rpcbind_ENABLE=yes .endif nfsclient: NETWORK rpcbind rpc_umntall test -z "$${NFSCLIENT_ENABLE}" || kldload -n nfs |
Renamed and modified
nfsd.service
[f4319844ee]
to nfsd.service.mk
[7b6e75ec40].
|
| < < | 1 2 3 4 5 6 7 | DAEMON_nfsd_COMMAND?=/sbin/nfsd DAEMON_nfsd_ENABLE?=no DAEMON_nfsd_FLAGS?=-u -t -n 4 .if empty(DAEMON_nfsd_ENABLE:tl:Mno) DAEMON_rpcbind_ENABLE=yes DAEMON_mountd_ENABLE=yes |
︙ | ︙ |
Renamed and modified
node_exporter.service
[4c51116bb3]
to node_exporter.service.mk
[fdd287131b].
|
| < < < | 1 2 3 4 5 6 7 8 9 10 | DAEMON_node_exporter_COMMAND?=/usr/local/bin/node_exporter --web.listen-address=${DAEMON_node_exporter_LISTEN_ADDRESS} --collector.textfile.directory=${DAEMON_node_exporter_TEXTFILE_DIR} DAEMON_node_exporter_ENABLE?=no DAEMON_node_exporter_LISTEN_ADDRESS?=:9100 DAEMON_node_exporter_TEXTFILE_DIR?=/var/tmp/node_exporter DAEMON_node_exporter_USER?=nobody DAEMON_node_exporter_GROUP?=nobody node_exporter: _service test -z "$${DAEMON_$@_ENABLE}" || \ install -d -o ${DAEMON_node_exporter_USER} -g ${DAEMON_node_exporter_GROUP} -m1755 ${DAEMON_node_exporter_TEXTFILE_DIR} |
Modified plain.starter.mk
from [8e78561a45]
to [5d92358239].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | LOCAL_TARGETS:=_service_plain _earlyservice_plain OTHER_TARGETS+=${LOCAL_TARGETS} .if ${STARTER} == "plain" LOCAL_TARGETS+=_service _earlyservice .endif .for target in ${LOCAL_TARGETS} ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice.*/SERVICE/} .USE test -z "$${DAEMON_$@_ENABLE}" || { \ test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \ chroot -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} / ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \ } .endfor .undef LOCAL_TARGETS | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | LOCAL_TARGETS:=_service_plain _earlyservice_plain OTHER_TARGETS+=${LOCAL_TARGETS} .if ${STARTER} == "plain" LOCAL_TARGETS+=_service _earlyservice .endif .for target in ${LOCAL_TARGETS} ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice.*/SERVICE/} .USE test -z "$${DAEMON_$@_ENABLE}" || { \ echo "MRC:$@> Starting service."; \ test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \ chroot -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} / ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \ } .endfor .undef LOCAL_TARGETS |
Renamed and modified
pwcheck.init
[edc120aa7a]
to pwcheck.init.mk
[86138ffb9c].
|
| < < | | 1 2 3 4 5 | pwcheck: mountlate syslogd echo "MRC:$@> Checking password lock file." .if exists(/etc/ptmp) logger -s -p auth.err "password file may be incorrect -- /etc/ptmp exists" .endif |
Renamed and modified
random.init
[ca869a3b30]
to random.init.mk
[6bbf837dab].
|
| < < | | 1 2 3 4 5 6 7 8 9 10 11 12 | ENTROPY_FILE?=/var/db/entropy/random ENTROPY_DIR?=/var/db/entropy random: mount devfs echo "MRC:$@> Seeding." sysctl kern.seedenable=1 > /dev/null ( ps -fauxww; ${SYSCTL} -a; date; df -ib; dmesg; ps -fauxww; ) 2>&1 | dd status=none of=/dev/random bs=8k cat /bin/ls | dd status=none of=/dev/random bs=8k .if exists(ENTROPY_DIR) .for file in ${:!find ${ENTROPY_DIR} -type f!} dd status=none if=${file} of=/dev/random bs=8k .endfor |
︙ | ︙ |
Renamed and modified
root.init
[398ba3c8e7]
to root.init.mk
[daf2788083].
|
| < < | | 1 2 3 4 | root: fsck bootfs echo "MRC:$@> Mount root R/W." mount -uo rw / umount -a |
Renamed and modified
rpc_umntall.init
[4e1d588074]
to rpc_umntall.init.mk
[b2f9b7f446].
|
| < < > | 1 2 3 4 5 6 | rpc_umntall: mountlate NETWORK rpcbind .if empty(RPC_UMNTALL_ENABLE:tl:Mno) echo "MRC:$@> Sending RPC unmount notifications."; \ test -f /var/db/mounttab || true && \ rpc.umntall -k & .endif |
Renamed and modified
rpcbind.service
[8c259ba4b5]
to rpcbind.service.mk
[718934b5c6].
|
| < < | 1 2 3 4 5 | DAEMON_rpcbind_COMMAND?=/usr/sbin/rpcbind DAEMON_rpcbind_ENABLE?=no DAEMON_rpcbind_FLAGS?=-d rpcbind: _earlyservice NETWORK syslogd |
Renamed and modified
runshm.init
[e46aba1e84]
to runshm.init.mk
[df6ba5679f].
|
| < < | | | | | 1 2 3 4 5 | runshm: cleanvar echo "MRC:$@> Mount and populate /var/run/shm."; \ mkdir -p /var/run/shm; \ mount_tmpfs -m 01777 dummy /var/run/shm; \ mkdir -p -m 01777 /var/run/shm/tmp; \ |
Renamed and modified
savecore.init
[2a0acaa9dd]
to savecore.init.mk
[de8547d324].
|
| < < | | 1 2 3 4 5 6 7 8 9 10 11 | DUMPDIR?=/var/crash CRASHINFO_ENABLE?=no savecore: dumpon .if empty(DUMPDEV:tl:Mno) && exists(${DUMPDEV}) && exists(${DUMPDIR}) echo "MRC:$@> Saving coredump."; \ savecore ${DUMPDIR} ${DUMPDEV} .if empty(CRASHINFO_ENABLE:tl:Mno) crashinfo -d ${DUMPDIR} .endif .endif |
Renamed and modified
slim.service
[78afd3e9e1]
to slim.service.mk
[177709f6b3].
|
| < < | 1 2 3 4 5 | DAEMON_slim_COMMAND?=/usr/local/bin/slim DAEMON_slim_ENABLE?=no slim: _service dbus rm -f /var/run/slim.auth |
Renamed and modified
smartd.service
[a7f08c417b]
to smartd.service.mk
[5fabaf4901].
|
| < < < | | 1 2 3 4 5 6 7 8 9 10 | DAEMON_smartd_COMMAND?=/usr/local/sbin/smartd DAEMON_smartd_ENABLE?=no DAEMON_smartd_FLAGS?=-c /usr/local/etc/smartd.conf -n smartd: _service test -z "$${DAEMON_$@_ENABLE}" || \ test -f /usr/local/etc/smartd.conf || { \ echo "MRC:$@> smartd requires config file to start." ; \ false; \ } |
Renamed and modified
sndiod.service
[fbc2f4641f]
to sndiod.service.mk
[a4c3036f6c].
|
| < < | 1 2 3 4 5 | DAEMON_sndiod_COMMAND?=/usr/local/bin/sndiod DAEMON_sndiod_ENABLE?=no DAEMON_sndiod_FLAGS?=-c 0:7 -j off -s default -m mon -s monitor -d sndiod: _service |
Modified svc.starter.mk
from [790cb49c9d]
to [29f41349a1].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | LOCAL_TARGETS:=_service_svc _earlyservice_svc OTHER_TARGETS+=_service_svc _earlyservice_svc .if ${STARTER} == "svc" LOCAL_TARGETS+=_service _earlyservice .endif .for target in ${LOCAL_TARGETS} ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice/SERVICE/} .USE test -z "$${DAEMON_$@_ENABLE}" || { \ test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \ svc -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} init $@ ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \ } .endfor .undef LOCAL_TARGETS | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | LOCAL_TARGETS:=_service_svc _earlyservice_svc OTHER_TARGETS+=_service_svc _earlyservice_svc .if ${STARTER} == "svc" LOCAL_TARGETS+=_service _earlyservice .endif .for target in ${LOCAL_TARGETS} ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice/SERVICE/} .USE test -z "$${DAEMON_$@_ENABLE}" || { \ echo "MRC:$@> Starting service."; \ test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \ svc -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} init $@ ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \ } .endfor .undef LOCAL_TARGETS |
Renamed and modified
swap.init
[1f6b4316a8]
to swap.init.mk
[c2487b0c65].
|
| < < | | 1 2 3 4 5 | swap: savecore .if ${:!sysctl -n vm.swap_enabled!}} != 0 echo "MRC:$@> Enabling swap."; \ swapon -a .endif |
Renamed and modified
sysctl.init
[278111ca84]
to sysctl.init.mk
[14b3132f0f].
|
| < < | | 1 2 3 4 5 | sysctl: kld root .if exists(/etc/sysctl.conf) echo "MRC:$@> Setting sysctl defaults."; \ awk '$$0~/^[ ]*(#.*)?$$/{next}{print}' < /etc/sysctl.conf | xargs -n1 sysctl .endif |
Renamed and modified
sysdb.init
[5692247457]
to sysdb.init.mk
[987bc8e0f2].
|
| < < | | | 1 2 3 4 | sysdb: mountlate echo "MRC:$@> Building databases."; \ dev_mkdb; \ install -c -m 644 -g wheel /dev/null /var/run/utmpx |
Renamed and modified
syslogd.service
[cf6bd8d6a1]
to syslogd.service.mk
[043ad2b2c7].
|
| < < | 1 2 3 4 5 | DAEMON_syslogd_COMMAND?=/usr/sbin/syslogd DAEMON_syslogd_ENABLE?=yes DAEMON_syslogd_FLAGS?=-ss8cc syslogd: _earlyservice |
Renamed and modified
watchdogd.service
[e334ffe2f4]
to watchdogd.service.mk
[285328a074].
|
| < < | 1 2 3 4 5 6 7 | DAEMON_watchdogd_COMMAND?=/usr/sbin/watchdogd DAEMON_watchdogd_ENABLE?=no DAEMON_watchdogd_FLAGS?=-d .if empty(:!sysctl -qn debug.watchdog || exit 0!) DAEMON_watchdogd_ENABLE=no .endif |
︙ | ︙ |
Renamed and modified
wlans.init
[d2b9ab1f81]
to wlans.init.mk
[f45e8c9798].
|
| < < | | 1 2 3 4 5 6 7 8 9 | wlans: kld echo "MRC:$@> Configuring wlans."; \ for dev in `sysctl -n net.wlan.devices`; do \ eval all_wlans=\$${WLANS_$${dev}}; \ for wlan in $${all_wlans}; do \ eval wlan_args=\$${WLANS_$${wlan}_ARGS}; \ ifconfig $${wlan} create wlandev $${dev} $${wlan_args}; \ ifconfig $${wlan} up; \ done; \ |
︙ | ︙ |