Ch_Rc(1M): Ch_Rc - HP B2355-92068 Administration Manual

System administration commands
Table of Contents

Advertisement

ch_rc(1M)
-R
root
RETURN VALUE
exits with one of the following values:
ch_rc
c
0
add/delete/list successful
1
command line syntax/usage error
2
can not access one or more of the listed (or default) files
3
can not open/create/write file
4
memory error
5
no files specified on command line for add option
EXAMPLES
Files in the
# Comments are preceded by pound signs and
# are always on a line of their own.
# Blank lines are allowed.
VARIABLE=value
VARIABLE_2=value2
VARIABLE_3[1]=value3
VARIABLE_3[2]=value4
# All parameters are defined on a single line
# Parameters must not be exported
WARNINGS
ch_rc
does not interpret configuration files; it only does pattern matching. As a result, if comments
appear on lines containing parameter definitions, the comments will also appear in output when using the
option.
-l
cannot parse multiple parameter definitions which occur on the same line of a file. Also, only cer-
ch_rc
tain formats are supported and whole lines are replaced.
Parameters must not be exported. If the parameters are exported, only the parameter value (name=value)
pair is stored and the rest of the data like an export special command in front of a name value pair, whi-
tespace, and comments are deleted from the line.
AUTHOR
ch_rc
was developed by HP.
FILES
/etc/rc.config
/etc/rc.config.d
SEE ALSO
rc.config(4).
128
Hewlett-Packard Company
Normally, the files specified on the command line are used as specified. By specifying a
root directory with the
will be interpreted relative to root.
For example, if root is specified as
mand line, it will be interpreted as
directory have the following format:
/etc/rc.config.d
system configuration database driver file
directory containing system configuration files
option, all files (including the default files if none are specified)
-R
and
/foo
/etc/TIMEZONE
/foo/etc/TIMEZONE
− 2 −
HP-UX 11i Version 2: December 2007 Update
ch_rc(1M)
is specified on the com-
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents