diff options
author | Roy Marples <roy@marples.name> | 2009-04-27 07:51:18 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-04-27 07:51:18 +0000 |
commit | e70a1429564a8fce5036c351b010a47dbb6c28b7 (patch) | |
tree | a1fc0f75a53041771bc9054fdab517ac32b3d79a /init.d/sysctl.BSD.in | |
parent | eaa32c75c9bba7af0ec842d82f56a6862bbc83db (diff) |
Style.
Diffstat (limited to 'init.d/sysctl.BSD.in')
-rw-r--r-- | init.d/sysctl.BSD.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d/sysctl.BSD.in b/init.d/sysctl.BSD.in index 6131a0b6..6db6e7ea 100644 --- a/init.d/sysctl.BSD.in +++ b/init.d/sysctl.BSD.in @@ -1,5 +1,5 @@ #!@PREFIX@/sbin/runscript -# Copyright 2007-2008 Roy Marples <roy@marples.name> +# Copyright 2007-2009 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. depend() @@ -15,10 +15,10 @@ start() local retval=0 var= comments= ebegin "Configuring kernel parameters" while read var comments; do - case "${var}" in + case "$var" in ""|"#"*) continue;; esac - sysctl -w "${var}" >/dev/null || retval=1 + sysctl -w "$var" >/dev/null || retval=1 done < /etc/sysctl.conf - eend ${retval} "Some errors were encountered" + eend $retval "Some errors were encountered" } |