[#]
http://marc.info/?l=openbsd-cvs&m=140890946618453&w=2
openbsd-cvs(obsdave,2) — All
2014-08-24 23:55:11
Module name: src
Changes by: schwarze@cvs.openbsd.org 2014/08/24 13:44:02
Modified files:
usr.sbin/rcctl : rcctl.sh
Log message:
Delete the function svc_get_all().
In svc_is_avail(), this simplifies the code by getting rid of the loop.
When running "rcctl status", this allows to not run svc_is_special() -
which spawns a grep - for each and every service, resulting in a 20%
speedup. As a bonus, we get the special services listed at the end,
where they are easier to see than mixed in with the daemons.
ok ajacoutot@ jasper@