aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-10-17 13:47:45 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-11-16 13:56:55 -0600
commit5b1aaf8cc803e9f21f8a0c94236ab5dddba4b2fc (patch)
tree4ef1037e3bad3f69409720e26342f31c064a3d39 /src
parent5994e55937cbbb71b1c22ad829b77a1bcd8c3793 (diff)
add support for extra_stopped_commands
Diffstat (limited to 'src')
-rw-r--r--src/librc/librc.c4
1 files changed, 3 insertions, 1 deletions
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)
{