diff options
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} |