service: get rid of some code duplication
authorFelix Fietkau <nbd@openwrt.org>
Mon, 9 Jun 2014 21:08:55 +0000 (23:08 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 9 Jun 2014 21:08:55 +0000 (23:08 +0200)
commit66e73f254a150408f1c487bf6876be41957c095a
tree43b87efa9f63c7713ddfae933707758515c6edd3
parent51c8582bac98e75cb11f32ec590cded02a1073dc
service: get rid of some code duplication

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
service.c