aboutsummaryrefslogtreecommitdiff
path: root/sh/gendepends.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/gendepends.sh')
-rwxr-xr-xsh/gendepends.sh6
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