aboutsummaryrefslogtreecommitdiff
path: root/sh/gendepends.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-19 14:36:22 +0000
committerRoy Marples <roy@marples.name>2008-02-19 14:36:22 +0000
commite1e36b2872c1f87d3d0b5308561884af3cd013ac (patch)
tree12dd16c75681a567510b2765e93e038d79bdfb9c /sh/gendepends.sh
parent42bfd7b6dc6d1ebc49c1c6b24e21772df4f6967b (diff)
keywords -> keyword
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 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}