From e1e36b2872c1f87d3d0b5308561884af3cd013ac Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 19 Feb 2008 14:36:22 +0000 Subject: keywords -> keyword --- sh/gendepends.sh | 6 +++--- sh/net.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sh') 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} diff --git a/sh/net.sh b/sh/net.sh index 7dc282fa..acf8dba7 100755 --- a/sh/net.sh +++ b/sh/net.sh @@ -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} -- cgit v1.2.3