diff options
author | sheldonh <sheldonh@FreeBSD.org> | 1999-08-25 16:01:45 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 1999-08-25 16:01:45 +0000 |
commit | 8cec588c449f00982159304c76482d87d5194f0d (patch) | |
tree | c5b950c555128460f4c0f03bc9b54c807a922506 /etc/rc.sysctl | |
parent | de5fc0125907bb6de177202bfa1b843589e80011 (diff) | |
download | FreeBSD-src-8cec588c449f00982159304c76482d87d5194f0d.zip FreeBSD-src-8cec588c449f00982159304c76482d87d5194f0d.tar.gz |
Style clean-up:
* All variables are now embraced: ${foo}
* All comparisons against some value now take the form:
[ "${foo}" ? "value" ]
where ? is a comparison operator
* All empty string tests now take the form:
[ -z "${foo}" ]
* All non-empty string tests now take the form:
[ -n "${foo}" ]
Submitted by: jkh
Diffstat (limited to 'etc/rc.sysctl')
-rw-r--r-- | etc/rc.sysctl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.sysctl b/etc/rc.sysctl index 8b1f447..bc98de9 100644 --- a/etc/rc.sysctl +++ b/etc/rc.sysctl @@ -2,12 +2,12 @@ # # Read in /etc/sysctl.conf and set things accordingly # -# $Id:$ +# $Id: rc.sysctl,v 1.1 1999/03/28 20:36:03 imp Exp $ if [ -f /etc/sysctl.conf ]; then 3< /etc/sysctl.conf while read 0<&3 var; do - sysctl -w $var + sysctl -w ${var} done 3<&- fi |