from small one page howto to huge articles all in one place
 

search text in:





Poll
Which linux distribution do you use?







poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

196724

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252325

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

141298

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





rc.eselect

Section: eselect (5)
Updated: June 2009
Index Return to Main Contents
 

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...]  

DESCRIPTION

eselect is Gentoo's configuration and management tool. It features modules that care for the individual administrative tasks.  

ACTION: ADD

eselect rc add script [runlevel...]
Add script to given runlevels. If no runlevel is given, this action will add script to the default runlevel.

# eselect rc add local default nonetwork notexisting
Adding local to following runlevels
  default                   [done]
  nonetwork                 [skipped]
  notexisting               [invalid]

The result-tags are as following

[done]
script successfully added to runlevel.
[failed]
script could not be added to runlevel.
[skipped]
script already part of runlevel.
[invalid]
runlevel is not existing.
 

ACTION: DELETE

eselect rc delete script [runlevel...]
Delete script from given runlevels. If no runlevel is given, this action will delete script from the default runlevel.

# eselect rc delete local nonetwork notexisting
Deleting local from following runlevels
  nonetwork                 [done]
  notexisting               [invalid]

The result-tags are as following

[done]
script successfully deleted from runlevel
[failed]
script could not be deleted from runlevel.
[skipped]
script not part of runlevel.
[invalid]
runlevel is not existing.
 

ACTION: LIST

eselect rc list [runlevel]
Display an ordered list of init scripts that belong to runlevel. In case that no runlevel is given, this action will list all scripts from /etc/init.d/.

# eselect rc list default
Init scripts to be started by runlevel default
  cupsd
  local
  metalog
  net.eth0
  netmount
  powernowd
  sshd
  vixie-cron
  xdm
  xfs  

ACTION: PAUSE

eselect rc pause script [script...]
Pause the given set of init scripts.

# eselect rc pause net.eth0

 * Stopping eth0
 *   Bringing down eth0
 *     Shutting down eth0 ...  

ACTION: RESTART

eselect rc restart script [script...]
Restart the given set of init scripts.

# eselect rc restart sshd
Restarting init script
 * ERROR:  "local" has not yet been started.
 * Stopping sshd ...                                            [ ok ]  

ACTION: SHOW

eselect rc show [runlevel...]
Show init scripts that belong to runlevel and list them together with their status. If no runlevel is given, list the scripts from the current runlevel. With options --all or --unused the scripts of all runlevels or the scripts not assigned to any runlevel are shown, respectively.

# eselect rc show
Status of init scripts in runlevel "default"
  cupsd                     [started]
  local                     [started]
  metalog                   [started]
  net.eth0                  [started]
  netmount                  [started]
  powernowd                 [started]
  sshd                      [stopped]
  vixie-cron                [started]
  xdm                       [started]

The status flags are as following

[started]
script has been successfully run.
[stopped]
script has manually been stopped.
[starting]
script is starting.
[stopping]
script stop has been ordered, but it has not ceased yet.
[inactive]
script has started, but is inactive.
[unknown]
script is part of runlevel, but its status is not known.
 

ACTION: START

eselect rc start script [script...]
Starts the given set of init scripts manually, regardless of the current runlevel.

# eselect rc start local sshd
Restarting init script
 * Starting local ...                                           [ ok ]
 * WARNING:  "sshd" has already been started.  

ACTION: STOP

eselect rc restart script [script...]
Restarts the given set of init scripts.

# eselect rc restart sshd
Restarting init script
 * ERROR:  "local" has not yet been started.
 * Stopping sshd ...                                            [ ok ]  

AUTHOR

Danny van Dyk <kugelfang@gentoo.org>  

SEE ALSO

eselect(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
ACTION: ADD
ACTION: DELETE
ACTION: LIST
ACTION: PAUSE
ACTION: RESTART
ACTION: SHOW
ACTION: START
ACTION: STOP
AUTHOR
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 24.0 ms