1 .\" $NetBSD: chkconfig.8,v 1.5 2002/10/01 13:40:27 wiz Exp $
3 .\" Copyright (c) 2001 Zembu Labs, Inc.
4 .\" All rights reserved.
6 .\" Author: Dan Mercer <dmercer@zembu.com>
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. All advertising materials mentioning features or use of this software
17 .\" must display the following acknowledgement:
18 .\" This product includes software developed by Zembu Labs, Inc.
19 .\" 4. Neither the name of Zembu Labs nor the names of its employees may
20 .\" be used to endorse or promote products derived from this software
21 .\" without specific prior written permission.
23 .\" THIS SOFTWARE IS PROVIDED BY ZEMBU LABS, INC. ``AS IS'' AND ANY EXPRESS
24 .\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR-
25 .\" RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DIS-
26 .\" CLAIMED. IN NO EVENT SHALL ZEMBU LABS BE LIABLE FOR ANY DIRECT, INDIRECT,
27 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 .Nd rc.conf.d management utility
50 utility allows a system administrator to easily manage services
56 will print the state (on or off) of every service found in the
59 The settings will be shown sorted according to the output of
64 is specified as the sole argument,
66 exits with status 0 if the service is
70 The exit status may be used by shell scripts to test the state of
71 a service, for example:
72 .Bd -literal -offset indent
73 if chkconfig wscons; then
80 The optional third argument allows the specified service to be set
87 script is run (generally the next system reboot).
91 to display service status or to control service state, the service
96 managed service is one that has the
102 script for that service.
103 If a service's script does not contain
104 this keyword, it may still be managed by
109 When this flag is used,
111 will automatically add the
113 keyword to the service's script.
120 command first appeared in
125 program was written by
127 .Aq dmercer@zembu.com
132 program currently does not support configuring the options
133 to be passed to services upon startup.