From: Per-Erik Westerberg <per-erik.westerberg@bredband.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rc runlevel act strangely
Date: Mon, 20 Jun 2011 18:51:02 +0200 [thread overview]
Message-ID: <1308588662.9971.8.camel@tux.homenetwork> (raw)
In-Reply-To: <4DFEA34C.2020501@gmail.com>
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
next prev parent reply other threads:[~2011-06-20 17:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-19 11:56 [gentoo-user] rc runlevel act strangely 刘勇泰
2011-06-19 12:27 ` Peter Humphrey
2011-06-19 12:40 ` Dale
2011-06-19 15:16 ` Peter Humphrey
2011-06-19 15:38 ` Dale
2011-06-19 21:36 ` Peter Humphrey
2011-06-19 21:47 ` William Hubbs
2011-06-20 1:33 ` Dale
2011-06-20 16:51 ` Per-Erik Westerberg [this message]
2011-06-20 17:24 ` Dale
2011-06-20 22:55 ` Neil Bothwick
2011-06-20 23:09 ` Dale
2011-06-21 7:46 ` Thanasis
[not found] ` <201106211602.24021.peter@humphrey.ukfsn.org>
2011-06-21 15:14 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308588662.9971.8.camel@tux.homenetwork \
--to=per-erik.westerberg@bredband.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox