summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/startup/share/rcvar.subr
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-12-27 07:52:50 +0000
committerdteske <dteske@FreeBSD.org>2012-12-27 07:52:50 +0000
commit29c6e27591c43292acacba552ab491939f4ef9ea (patch)
treecce0da2d39358e8ebc3b841bcdaf7a9557f882e1 /usr.sbin/bsdconfig/startup/share/rcvar.subr
parent219a9acfae56561b07bd4a6a8bc31d1269aa3a91 (diff)
downloadFreeBSD-src-29c6e27591c43292acacba552ab491939f4ef9ea.zip
FreeBSD-src-29c6e27591c43292acacba552ab491939f4ef9ea.tar.gz
Comments and fit to 80-columns.
Diffstat (limited to 'usr.sbin/bsdconfig/startup/share/rcvar.subr')
-rw-r--r--usr.sbin/bsdconfig/startup/share/rcvar.subr21
1 files changed, 11 insertions, 10 deletions
diff --git a/usr.sbin/bsdconfig/startup/share/rcvar.subr b/usr.sbin/bsdconfig/startup/share/rcvar.subr
index bb54523..702c5e9 100644
--- a/usr.sbin/bsdconfig/startup/share/rcvar.subr
+++ b/usr.sbin/bsdconfig/startup/share/rcvar.subr
@@ -107,11 +107,11 @@ f_startup_rcvar_map()
)"
#
- # Calculate a digest given the checksums of all dependencies (scripts and
- # the defaults file). This digest will be used to determine if an on-disk
- # global persistant cache file (containg this digest on the first line)
- # is valid and can be used to quickly populate the cache value for
- # immediate return.
+ # Calculate a digest given the checksums of all dependencies (scripts
+ # and the defaults file). This digest will be used to determine if an
+ # on-disk global persistant cache file (containg this digest on the
+ # first line) is valid and can be used to quickly populate the cache
+ # value for immediate return.
#
local rc_script_list_digest
rc_script_list_digest=$( cd "$ETC_RC_D" &&
@@ -131,11 +131,12 @@ f_startup_rcvar_map()
read digest rest_ignored
#
- # If the stored digest matches the calculated-one
- # populate the in-memory cache from the on-disk
- # cache and provide success exit status.
+ # If the stored digest matches the calculated-
+ # one populate the in-memory cache from the on-
+ # disk cache and provide success exit status.
#
- if [ "$digest" = "$rc_script_list_digest" ]; then
+ if [ "$digest" = "$rc_script_list_digest" ]
+ then
cat
exit $SUCCESS
else
@@ -151,7 +152,7 @@ f_startup_rcvar_map()
echo "$STARTUP_RCVAR_MAP"
return $SUCCESS
fi
- # Otherwise, fall-through to create in-memory cache from scratch
+ # Otherwise, fall-thru to create in-memory cache from scratch
fi
#
OpenPOWER on IntegriCloud