mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
This commit is contained in:
parent
11333dd580
commit
f13275cf03
1 changed files with 2 additions and 1 deletions
|
|
@ -1856,7 +1856,8 @@ boottrace_fn()
|
|||
set $_arg; . $_file
|
||||
boottrace_sysctl "$_file done"
|
||||
else
|
||||
$boottrace_cmd "$_file" "$_arg"
|
||||
_boot="${_boot}" rc_fast="${rc_fast}" autoboot="${autoboot}" \
|
||||
$boottrace_cmd "$_file" "$_arg"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue