Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #512

Category None
Changed by Luiz Angelo Daros de Luca <luizlucaohnoyoudont@gmail.com>
Changed at Sun 15 Sep 2019 20:53:01
Repository https://git.openwrt.org/openwrt/openwrt.git
Branch master
Revision 7519a36774ca0e50dfae6a4b9fea75cab95171a5

Comments

base-files,procd: add generic service status
Adds a default status action for init.d scripts.

procd "service status" will return:

 0) for loaded services (even if disabled by conf or dead)
 3) for inactive services
 4) when filtering a non-existing instance

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
[rebased, cleaned up]
Signed-off-by: Petr Štetiar <ynezz@true.cz>

Changed files