freebsd-src/libexec/rc
Alex Samorukov f13275cf03 export $autoboot var when running from $boottrace_cmd
At the moment, if bootrace profiling is enabled, autoboot is not
exported to the rc scripts. This causes fsck to not check the root
filesystem.  To fix this, pass _boot, rc_fast and autoboot to the
boottrace process to mimic what diretly sourcing the rc.d scripts.

PR: 278993
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1261
2024-05-29 13:29:53 -06:00
..
rc.d rc.d: add a service jails config to all base system services 2024-05-22 15:41:49 +02:00
tests spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
debug.sh /etc/rc add trace debug and verify 2024-02-09 09:15:58 -08:00
Makefile /etc/rc add trace debug and verify 2024-02-09 09:15:58 -08:00
netstart libexec: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
network.subr Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pccard_ether Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc /etc/rc add trace debug and verify 2024-02-09 09:15:58 -08:00
rc.bsdextended Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.conf nuageinit: by default to not enable nuageinit 2024-05-14 14:16:45 +02:00
rc.firewall Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.initdiskless rc.initdiskless: Disable soft-updates in mdmfs (again) 2024-03-20 00:54:18 -04:00
rc.resume Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.shutdown Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rc.subr export $autoboot var when running from $boottrace_cmd 2024-05-29 13:29:53 -06:00
rc.suspend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
safe_eval.sh rc.subr add Exists so we can find sed 2024-02-12 14:39:20 -08:00