Fix rc_${rc_svcname}_need.

Display config depends in service depend function also.
This commit is contained in:
Roy Marples
2010-02-20 21:48:06 +00:00
parent c0f5f2122c
commit 5c52e5beb5
3 changed files with 30 additions and 19 deletions

View File

@@ -187,8 +187,14 @@ done
unset _f
while [ -n "$1" ]; do
# Sepcial case depend
if [ "$1" = depend ]; then
shift
_depend
continue
fi
# See if we have the required function and run it
for _cmd in describe start stop status depend ${extra_commands:-$opts} \
for _cmd in describe start stop status ${extra_commands:-$opts} \
$extra_started_commands
do
if [ "$_cmd" = "$1" ]; then