This feature comes from Debian, too, which calls for a single command to remove a service from all runlevels reliably, as # update-rc.d <svc> [-f] remove It used when a package changes <svc> to, say, <svc0> and needs a cleanup of the old symlinks. A similar rc-update syntax could be desinged as rc-update del <svc> -a FYI: the present OpenRC treats "rc-update del <svc>" as removing <svc> from the current runlevel. Reproducible: Always
We have an inconsistency in the CLI, "rc-update show" is for ALL runlevels, while "rc-update add/del <svc>" is only for the CURRENT runlevel.
Created attachment 367770 [details, diff] operate-all-runlevels.patch
This is fixed in commit abadaa0 and will be included in OpenRC-0.13.
Thanks William. I appreciate for your refinement of the patch.