diff options
author | dteske <dteske@FreeBSD.org> | 2013-11-07 23:01:41 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-11-07 23:01:41 +0000 |
commit | 986812ee8b9fad21d0d6907bd5ad8575b7e986bf (patch) | |
tree | c3cc935966467a07d2f4663a54fbd66cd10ecef1 /usr.sbin/sysrc | |
parent | a920b12f85918c1b546cb81aa622af668b62d348 (diff) | |
download | FreeBSD-src-986812ee8b9fad21d0d6907bd5ad8575b7e986bf.zip FreeBSD-src-986812ee8b9fad21d0d6907bd5ad8575b7e986bf.tar.gz |
Comments and whitespace.
Diffstat (limited to 'usr.sbin/sysrc')
-rw-r--r-- | usr.sbin/sysrc/sysrc | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.sbin/sysrc/sysrc b/usr.sbin/sysrc/sysrc index 70676e2..5255f9d 100644 --- a/usr.sbin/sysrc/sysrc +++ b/usr.sbin/sysrc/sysrc @@ -215,7 +215,7 @@ jail_depend() echo "$SYSRC_VERSION" exit 1 ;; -[fRj]) # These flags take an argument - shift 1;; + shift 1 ;; esac shift 1 done @@ -537,9 +537,10 @@ while [ $# -gt 0 ]; do *=*) # # Like sysctl(8), if both `-d' AND "name=value" is passed, - # first describe, then attempt to set + # first describe (done above), then attempt to set # + # If verbose, prefix line with where the directive lives if [ "$SYSRC_VERBOSE" -a ! "$CHECK_ONLY" ]; then file=$( f_sysrc_find "$NAME" ) [ "$file" = "$RC_DEFAULTS" -o ! "$file" ] && \ @@ -613,8 +614,8 @@ while [ $# -gt 0 ]; do fi # - # Like sysctl(8), when `-d' is passed, - # desribe it rather than expanding it + # Like sysctl(8), when `-d' is passed, desribe it + # (already done above) rather than expanding it # if [ "$DESCRIBE" ]; then @@ -658,3 +659,7 @@ while [ $# -gt 0 ]; do done [ ! "$CHECK_ONLY" ] || exit $costatus + +################################################################################ +# END +################################################################################ |