HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

a
auto_parms(1M) auto_parms(1M)
NAME
auto_parms - initial system configuration/DHCP support script
SYNOPSIS
auto_parms
DESCRIPTION
auto_parms is a system initialization script whose primary responsibility lies in handling first time
boot configuration and ongoing management of the DHCP lease(s).
auto_parms is invoked at boot time
by the
/sbin/rc script. Initially, it will load a list of available ethernet interfaces and begin requesting
a DHCP lease on each interface, stopping when a valid lease is secured or the list is exhausted.
As a part of checking for the availability of a lease on a particular interface,
auto_parms will also con-
sult
/etc/rc.config.d/netconf
and examine the variable DHCP_ENABLE[index]. If
DHCP_ENABLE[index] is set to ’1’,
auto_parms will attempt to request a lease on the the interface
designated by ’index’. If DHCP_ENABLE[index] is set to ’0’ (the default case) or does not exist in
/etc/rc.config.d/netconf
,
auto_parms will not attempt the DHCP request over the interface.
Once a lease is secured, the information supplied with the lease will be used to initialize key networking
parameters (see dhcpdb2conf(1M)).
If
auto_parms detects that the system is going through a "first time boot" (keyed by the hostname for
the system not being set), it will invoke set_parms for the purpose of verifying the DHCP supplied
parameters as well as collecting any parameters not supplied by DHCP.
For all subsequent boots, the data supplied by a DHCP lease is assumed to be definitive and will be recog-
nized as such by
auto_parms. Note that in an environment (non-mobile) where DHCP is being used for
IP address management, the lease information will not change from boot to boot under normal conditions.
This is accomplished by auto_parms ensuring that the dhcpclient is placed in "lease maintenance
mode" prior to exiting.
EXAMPLES
See
/sbin/rc for invocation context.
FILES
/sbin/auto_parms
/sbin/set_parms.util
SEE ALSO
dhcpdb2conf(1M).
HP-UX 11i Version 2: August 2003 1 Hewlett-Packard Company Section 1M65