diff options
author | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
commit | ac9279cc0d5a00bc17908b2914941186020cd3ce (patch) | |
tree | 850a4fe19917113e75bfd2e79d00b58208468503 /sh/gendepends.sh | |
parent | 444f23e2d158389b22d40537fc9b027d9f575229 (diff) |
Massive whitespace cleanup
Diffstat (limited to 'sh/gendepends.sh')
-rwxr-xr-x | sh/gendepends.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/gendepends.sh b/sh/gendepends.sh index 12db5a02..eac247dc 100755 --- a/sh/gendepends.sh +++ b/sh/gendepends.sh @@ -51,7 +51,7 @@ depend() { } cd /etc/init.d -for SVCNAME in * ; do +for SVCNAME in *; do [ -x "${SVCNAME}" ] || continue # Only generate dependencies for runscripts @@ -65,14 +65,14 @@ for SVCNAME in * ; do exec 3>&1 1>&2 rc_c=${SVCNAME%%.*} - if [ -n "${rc_c}" -a "${rc_c}" != "${SVCNAME}" ] ; then + if [ -n "${rc_c}" -a "${rc_c}" != "${SVCNAME}" ]; then [ -e /etc/conf.d/"${rc_c}" ] && . /etc/conf.d/"${rc_c}" fi unset rc_c [ -e /etc/conf.d/"${SVCNAME}" ] && . /etc/conf.d/"${SVCNAME}" - if . /etc/init.d/"${SVCNAME}" ; then + if . /etc/init.d/"${SVCNAME}"; then echo "${SVCNAME}" >&3 depend |