Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 130643
Collapse All | Expand All

(-)man/rc-update.8 (-1 / +7 lines)
Lines 6-12 Link Here
6
.br
6
.br
7
\fBrc-update\fR \fIdel\fR \fIscript\fR \fI[runlevels]\fR
7
\fBrc-update\fR \fIdel\fR \fIscript\fR \fI[runlevels]\fR
8
.br
8
.br
9
\fBrc-update\fR \fIshow\fR \fI[runlevels]\fR
9
\fBrc-update\fR \fIshow\fR \fI[verbose]\fR \fI[runlevels]\fR
10
.SH DESCRIPTION
10
.SH DESCRIPTION
11
Gentoo's init system uses named runlevels.  Rather than editing some obscure 
11
Gentoo's init system uses named runlevels.  Rather than editing some obscure 
12
file or managing a directory of symlinks, \fBrc-update\fR exists to quickly 
12
file or managing a directory of symlinks, \fBrc-update\fR exists to quickly 
Lines 34-39 Link Here
34
\fIrunlevels\fR to show, then only those will be included in the output.
34
\fIrunlevels\fR to show, then only those will be included in the output.
35
35
36
Example: rc-update show
36
Example: rc-update show
37
.TP
38
\fBverbose (\-v)\fR
39
Only useful in combination with \fIshow\fR.  This restores old behaviour
40
to display \fBall\fR installed init scripts.
41
42
Example: rc-update show verbose
37
.SH "REPORTING BUGS"
43
.SH "REPORTING BUGS"
38
Please report bugs via http://bugs.gentoo.org/
44
Please report bugs via http://bugs.gentoo.org/
39
.SH "SEE ALSO"
45
.SH "SEE ALSO"
(-)sbin/rc-update (-2 / +6 lines)
Lines 11-17 Link Here
11
cat << FOO
11
cat << FOO
12
usage: ${argv0} -a|add script runlevel1 [runlevel2 ...]
12
usage: ${argv0} -a|add script runlevel1 [runlevel2 ...]
13
       ${argv0} -d|del script [runlevel1 ...]
13
       ${argv0} -d|del script [runlevel1 ...]
14
       ${argv0} -s|show [runlevel1 ...]
14
       ${argv0} -s|show [-v|verbose] [runlevel1 ...]
15
15
16
examples:
16
examples:
17
       # ${argv0} add net.eth0 default
17
       # ${argv0} add net.eth0 default
Lines 27-35 Link Here
27
       residing in /etc/init.d is not deleted, just any symlinks in
27
       residing in /etc/init.d is not deleted, just any symlinks in
28
       /etc/runlevels/default and /etc/runlevels/wumpus.
28
       /etc/runlevels/default and /etc/runlevels/wumpus.
29
29
30
       # ${argv0} show
30
       # ${argv0} show verbose
31
       Show all the available scripts and list at which runlevels they
31
       Show all the available scripts and list at which runlevels they
32
       will execute.
32
       will execute.
33
34
       # ${argv0} show
35
       Show all activated scripts and list at which runlevels they
36
       will execute.
33
FOO
37
FOO
34
	exit ${1:-0}
38
	exit ${1:-0}
35
}
39
}

Return to bug 130643