Fix a bug introduced with r249751, in which a small hunk was forgotten in

the performance conversion process.

The effect of this was, when your /etc/defaults/rc.conf file changed
(based on md5(1)) and re-generating the file startup_rcconf_map.cache in
/var/run/bsdconfig/ you would get a screen-dump of its contents before the
menu would appear.
This commit is contained in:
Devin Teske 2013-06-08 21:33:09 +00:00
parent 9039c2f6f7
commit 04d380df0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251556

View File

@ -207,7 +207,11 @@ f_startup_rcconf_map()
)
export STARTUP_RCCONF_MAP
export _STARTUP_RCCONF_MAP=1
echo "$STARTUP_RCCONF_MAP"
if [ "$__var_to_set" ]; then
setvar "$__var_to_set" "$STARTUP_RCCONF_MAP"
else
echo "$STARTUP_RCCONF_MAP"
fi
#
# Attempt to create the persistant global cache