diff options
author | Roy Marples <roy@marples.name> | 2008-02-19 14:36:22 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-19 14:36:22 +0000 |
commit | e1e36b2872c1f87d3d0b5308561884af3cd013ac (patch) | |
tree | 12dd16c75681a567510b2765e93e038d79bdfb9c /sh | |
parent | 42bfd7b6dc6d1ebc49c1c6b24e21772df4f6967b (diff) |
keywords -> keyword
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/gendepends.sh | 6 | ||||
-rwxr-xr-x | sh/net.sh | 4 |
2 files changed, 5 insertions, 5 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} @@ -21,7 +21,7 @@ depend() need localmount after bootmisc provide net - keywords nojail + keyword nojail case "${IFACE}" in lo|lo0);; @@ -33,7 +33,7 @@ depend() fi local dep= prov= - for dep in need use before after provide keywords; do + for dep in need use before after provide keyword; do eval prov=\$rc_${dep}_${IFVAR} if [ -n "${prov}" ]; then ${dep} ${prov} |