whitespace
This commit is contained in:
parent
6c54d47341
commit
f1f5b0c367
@ -26,13 +26,13 @@ depend() {
|
||||
|
||||
cd /etc/init.d
|
||||
for SVCNAME in * ; do
|
||||
[ -x "${SVCNAME}" ] || continue
|
||||
case "${SVCNAME}" in
|
||||
[ -x "${SVCNAME}" ] || continue
|
||||
case "${SVCNAME}" in
|
||||
*.sh) continue ;;
|
||||
esac
|
||||
esac
|
||||
|
||||
SVCNAME=${SVCNAME##*/}
|
||||
(
|
||||
SVCNAME=${SVCNAME##*/}
|
||||
(
|
||||
# Save stdout in fd3, then remap it to stderr
|
||||
exec 3>&1 1>&2
|
||||
|
||||
@ -46,7 +46,7 @@ for SVCNAME in * ; do
|
||||
|
||||
if . /etc/init.d/"${SVCNAME}" ; then
|
||||
echo "${SVCNAME}" >&3
|
||||
depend
|
||||
depend
|
||||
|
||||
# Add any user defined depends
|
||||
need ${RC_NEED}
|
||||
@ -54,8 +54,8 @@ for SVCNAME in * ; do
|
||||
before ${RC_BEFORE}
|
||||
after ${RC_AFTER}
|
||||
provide ${RC_PROVIDE}
|
||||
fi
|
||||
)
|
||||
fi
|
||||
)
|
||||
done
|
||||
|
||||
# vim: set ts=4 :
|
||||
|
Loading…
Reference in New Issue
Block a user