add support for extra_stopped_commands

This commit is contained in:
William Hubbs
2011-10-17 13:47:45 -05:00
parent 5994e55937
commit 5b1aaf8cc8
3 changed files with 20 additions and 4 deletions

View File

@@ -526,7 +526,9 @@ rc_service_exists(const char *service)
}
librc_hidden_def(rc_service_exists)
#define OPTSTR ". '%s'; echo $extra_commands $extra_started_commands"
#define OPTSTR \
". '%s'; echo $extra_commands $extra_started_commands $extra_stopped_commands"
RC_STRINGLIST *
rc_service_extra_commands(const char *service)
{