diff options
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 0fd5b199..712d29ff 100755 --- a/sh/gendepends.sh +++ b/sh/gendepends.sh @@ -24,8 +24,8 @@ after() { provide() { [ -n "$*" ] && echo "${SVCNAME} iprovide $*" >&3 } -keywords() { - [ -n "$*" ] && echo "${SVCNAME} keywords $*" >&3 +keyword() { + [ -n "$*" ] && echo "${SVCNAME} keyword $*" >&3 } depend() { : @@ -66,7 +66,7 @@ for _dir in /etc/init.d /usr/local/etc/init.d; do depend # Add any user defined depends - for _deptype in config need use after before provide keywords; do + for _deptype in config need use after before provide keyword; do eval _depends=\$rc_$(shell_var "${SVCNAME}")_${_deptype} [ -z "${_depends}" ] && eval _depends=\$rc_${_deptype} ${_deptype} ${_depends} |