sön 2011-06-19 klockan 20:33 -0500 skrev Dale: > William Hubbs wrote: > > On Sun, Jun 19, 2011 at 10:36:47PM +0100, Peter Humphrey wrote: > > > >> On Sunday 19 June 2011 16:38:35 Dale wrote: > >> > >> > >>> I don't know when it got added but it is on mine. This is in the help > >>> page: > >>> > >>> rc Manage /etc/init.d scripts in runlevels > >>> > >>> It works something like this: > >>> > >>> root@fireball / # eselect rc add xdm default > >>> Adding xdm to following runlevels > >>> default [skipped] > >>> root@fireball / # > >>> > >>> It was skipped because it was already there but that's how it works. > >>> > >>> Neat huh? > >>> > > The official way to add or delete services is to use rc-update. I do not > > know anything about using eselect rc to do this. > > > > Thanks, > > > > William > > > > Is this documented somewhere? Using eselect for this I mean. Surely > the OP saw it in a doc somewhere. Sort of doubtful that he/she pulled > this out of their hat on their own. > > Dale > > :-) :-) >
Well, issuing "eselect" lists "rc" as a module and "man rc.eselect" gives you a list of actions to use and their description : NAME rc.eselect - Runlevel configuration module SYNOPSIS eselect rc [help|usage|version] eselect rc add script [runlevel...] eselect rc delete script [runlevel...] eselect rc list [runlevel] eselect rc pause script [script...] eselect rc restart script [script...] eselect rc show [runlevel...] eselect rc start script [script...] eselect rc stop script [script...] ;) / Per-Erik