Date: Sat, 8 Jun 2013 21:33:09 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251556 - head/usr.sbin/bsdconfig/startup/share Message-ID: <201306082133.r58LX97F020175@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Sat Jun 8 21:33:09 2013 New Revision: 251556 URL: http://svnweb.freebsd.org/changeset/base/251556 Log: 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. Modified: head/usr.sbin/bsdconfig/startup/share/rcconf.subr Modified: head/usr.sbin/bsdconfig/startup/share/rcconf.subr ============================================================================== --- head/usr.sbin/bsdconfig/startup/share/rcconf.subr Sat Jun 8 21:11:26 2013 (r251555) +++ head/usr.sbin/bsdconfig/startup/share/rcconf.subr Sat Jun 8 21:33:09 2013 (r251556) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306082133.r58LX97F020175>