From 5b1aaf8cc803e9f21f8a0c94236ab5dddba4b2fc Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 17 Oct 2011 13:47:45 -0500 Subject: add support for extra_stopped_commands --- src/librc/librc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/librc/librc.c b/src/librc/librc.c index c66c944f..13c19731 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -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) { -- cgit v1.2.3