procd: rework trigger handling
authorFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 11:00:56 +0000 (13:00 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 29 Jul 2016 14:41:08 +0000 (16:41 +0200)
commit8891d941e054331dab027a58dd24e1aeb88acfc3
treef4b42fb80e3f483fdf4cfe07bf497d70b387681a
parenteed30bc869e5e45814cfc1ebae690153391c0a11
procd: rework trigger handling

Open/close triggers array around service_triggers call to make using
multiple triggers easier to deal with.
The API was quite confusing, because some functions contained implicit
trigger open/close calls and some didn't.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/system/procd/files/procd.sh