diff options
author | William Hubbs <williamh@gentoo.org> | 2011-10-17 13:47:45 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-11-16 13:56:55 -0600 |
commit | 5b1aaf8cc803e9f21f8a0c94236ab5dddba4b2fc (patch) | |
tree | 4ef1037e3bad3f69409720e26342f31c064a3d39 /src/librc | |
parent | 5994e55937cbbb71b1c22ad829b77a1bcd8c3793 (diff) |
add support for extra_stopped_commands
Diffstat (limited to 'src/librc')
-rw-r--r-- | src/librc/librc.c | 4 |
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) { |