1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
.\" Copyright (C) 2000-2001 Richard Gooch
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\"
.\" Richard Gooch may be reached by email at rgooch@atnf.csiro.au
.\" The postal address is:
.\" Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia.
.\"
.\" initctl.8 Richard Gooch 21-FEB-2001
.\"
.\" Japanese Version Copyright (c) 2001 Yuichi SATO
.\" all rights reserved.
.\" Translated Mon Feb 26 19:13:14 JST 2001
.\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
.\"
.TH INITCTL 8 "21 Feb 2001" "Util-Linux Package"
.SH ̾
initctl \- simpleinit(8) 椹뤿Υ桼ƥƥ
.SH
.nf
\fBneed\fP [\fB-r\fP] \fBservice\fP
.BR display-services
\fBprovide service\fP
.fi
.SH ά
\fBinitctl\fP ץϡƥ൯ưץȤ
ϴĥ夹뤿˥ǥƤ롣
ߤǤϡSysV εưץȤǻȤƤ
ʣȤ¿ΥܥåˤˡȤȤʤ
⥸塼벽ưץȤȤǤ롣
ƥץȤϡư˲ɬפ
\fBneed\fP(8) ȤäƴñǤ롣
.SH need
\fBneed\fP ץϡ\fBsimpleinit\fP(8) Ф
\fIservice\fP (̾ \fI/sbin/init.d\fP Υץ)
Ϥ褦˻ؼ
service ѲǽˤʤޤԤ뤿Υ桼ƥƥǤ롣
service ˻Ѳǽʾ硢Ƥӵư뤳ȤϤʤ
\fB-r\fP ץϡ\fBsimpleinit\fP(8) Ф
\fIservice\fP ޤǤΥӥ
ֲ᤹ (roll back)(ߤ) 褦˻ؼ
(ꤵ줿ӥϴޤޤʤ)
\fIservice\fP ꤵʤ硢
ƤΥӥߤ롣
äơ\fB-r\fP ץˤꡢ
ƥʬŪޤŪ˽ΩƤƥåȥ뤳ȤǤ롣
¹Ԥ뤿ˤϡ̤ \fBshutdown\fP(8) ץबɬפȤ롣
.SH display-services
\fBdisplay-services\fP ȤƵư줿硢
ѲǽʥӥΥꥹȤȼԤӥΥꥹȤ
ɸϤ˽Ф
.SH provide
\fBprovide\fP ȤƵư줿硢
\fBsimpleinit\fP(8) Фƿƥץ (ƤӽФץ)
\fIservice\fP Ȥ̾Υӥ褦˻ؼ롣
ƤӽФץ (ơ 0 ) λ硢
ӥѲǽǤȹͤ롣
\fIservice\fP Υ 1 ĤưΤǡ
¾ˤΥӥץϥ֥åƼԤ롣
\fBprovide\fP ȤȤˤꡢ
Ʊ (Ū) ӥǤʣΥץĤȤǤ
(㤨 \fBsendmail\fP \fBqmail\fP ϶ \fBmta\fP ӥ)
ǡºݤ˥ӥΤ 1 ĤǤ롣
եå륵ӥưץȤǻȤȤǤ롣
.SH λ
ӥ˵ư硢
\fBneed\fP νλɤ 0 Ǥ롣
ӥԤ 1 Ǥ롣
ӥǽξ
(ĤޤꡢեԲĤˤƤ) 2 Ǥ롣
νλɤϡӥưץȤνλɤȿǤ롣
ӥߤ硢
\fBneed -r\fP νλɤ 0 Ǥ롣
ӥߤǤʤä 1 Ǥ롣
ӥϤǤʤä 2 Ǥ롣
ӥΥåȥץȤϡ
(ʾ) 0 (Ԥξ) 1 ֤ʤ
ӥǤ硢\fBprovide\fP νλɤ 0 Ǥ롣
Ǥʤä 1 Ǥ롣
ƥץ init λҤǤʤ 2 Ǥ롣
ΥץϡΥӥ
¾Υӥץ֥åԤ롣
.SH ʥ
\fBinitctl\fP(8) \fBsimpleinit\fP(8) ̿뤿
\fBSIGUSR1\fP, \fBSIGUSR2\fP, \fBSIGPOLL\fP Ȥ
Υʥ \fBneed\fP(8) äƤϤʤʤ
.SH ե
.PD 0
.TP 20
.BI /dev/initctl
\fBsimpleinit\fP(8) ˤäƺ FIFO ǡ
\fBinitctl\fP(8) ޥɤࡣ
.SH Ϣ
.BR simpleinit (8),
.BR init (8)
.PP
\fBneed\fP(8) Ȥä
֡ȥץȥƥˤĤƤΤäŪʵϡ
http://www.atnf.csiro.au/~rgooch/linux/boot-scripts/
DZǤ롣
.SH
Richard Gooch (rgooch@atnf.csiro.au)
.SH
Util-Linux ѥå
ftp://ftp.??.kernel.org/pub/linux/utils/util-linux/
ǽǤ롣
|