diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-28 18:37:02 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2008-05-28 18:37:02 -0700 |
commit | 33d193a4eb5db51c0b6fbda66ed2bdbd564a4015 (patch) | |
tree | c822e0b28efea4aab38b80574fd841d1c874f485 | |
parent | 84220fa7dce80a7f985e145900489f1f345f8967 (diff) |
Also allow dstart/dstop keys in initd_is_active
-rw-r--r-- | lib/active.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/active.c b/lib/active.c index 7c55071..9f91ce1 100644 --- a/lib/active.c +++ b/lib/active.c @@ -76,6 +76,12 @@ bool initd_is_active(const initd_t *ip, initd_rc_t rc, initd_key_t key) case KEY_CSTOP: match = ip->cstop; break; + case KEY_DSTART: + match = ip->dstart; + break; + case KEY_DSTOP: + match = ip->dstop; + break; default: /* Wrong key type */ return false; |