rc-functions.sh: add support for user-defined want dependencies

This commit is contained in:
William Hubbs 2015-12-01 12:31:28 -06:00
parent 33d3f33b3c
commit bd9456ff31

View File

@ -91,7 +91,7 @@ _depend() {
local _rc_svcname=$(shell_var "$RC_SVCNAME") _deptype= _depends= local _rc_svcname=$(shell_var "$RC_SVCNAME") _deptype= _depends=
# Add any user defined depends # Add any user defined depends
for _deptype in config:CONFIG need:NEED use:USE \ for _deptype in config:CONFIG need:NEED use:USE want:WANT \
after:AFTER before:BEFORE \ after:AFTER before:BEFORE \
provide:PROVIDE keyword:KEYWORD; do provide:PROVIDE keyword:KEYWORD; do
IFS=: IFS=: