mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Don't export variables from /etc/rc when doing rc_ng because the scripts
are sourced in a subshell. Submitted by: Mike Makonnen <makonnen@pacbell.net>
This commit is contained in:
parent
88f7d3e22b
commit
8987faac82
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101852
2
etc/rc
2
etc/rc
@ -78,8 +78,6 @@ case ${rc_ng} in
|
|||||||
autoboot=yes
|
autoboot=yes
|
||||||
_boot="faststart"
|
_boot="faststart"
|
||||||
rc_fast=yes # run_rc_command(): do fast booting
|
rc_fast=yes # run_rc_command(): do fast booting
|
||||||
export autoboot
|
|
||||||
export rc_fast
|
|
||||||
else
|
else
|
||||||
autoboot=no
|
autoboot=no
|
||||||
_boot="start"
|
_boot="start"
|
||||||
|
Loading…
Reference in New Issue
Block a user