service: simplify and remove more code duplication
authorFelix Fietkau <nbd@openwrt.org>
Mon, 9 Jun 2014 21:14:53 +0000 (23:14 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 9 Jun 2014 21:14:53 +0000 (23:14 +0200)
commit9061708d9d39f011c5e78f922a5262ad571607cb
tree84af680741cf660984c9c80056383169a2dfc851
parent66e73f254a150408f1c487bf6876be41957c095a
service: simplify and remove more code duplication

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