From abadaa04abe1833c6016f203e5d10168002bd8d3 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Mon, 13 Jan 2014 09:18:40 -0600 Subject: rc-update: add option to remove a service from all runlevels The -a option,which only applies to the del command, is used to remove a service from all runlevels. X-Gentoo-Bug: 497740 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=497740 --- man/rc-update.8 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/rc-update.8 b/man/rc-update.8 index 3fa97a4e..dca4b90b 100644 --- a/man/rc-update.8 +++ b/man/rc-update.8 @@ -21,7 +21,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd May 2, 2009 +.Dd Jan 13, 2014 .Dt RC-UPDATE 8 SMM .Os OpenRC .Sh NAME @@ -35,6 +35,7 @@ .Op Ar runlevel ... .Nm .Op Fl s , -stack +.Op Fl a , -all .Ar delete .Ar service .Op Ar runlevel ... @@ -86,9 +87,16 @@ If the .Fl s , -stack option is given then we either add or remove the runlevel from the runlevel. This allows inheritance of runlevels. + +If the +.Fl a, -all +option is given, we remove the service from all runlevels. This is +useful, for example, to clean up the dangling symlinks after a service +is removed. .Sh SEE ALSO .Xr openrc 8 , .Xr openrc-run 8 , .Xr rc-status 8 .Sh AUTHORS .An Roy Marples +.An The OpenRC Team -- cgit v1.2.3