HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
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 availabilityof a lease on a particular interface, auto_parms will also consult
/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.
FILES
/sbin/auto_parms
/sbin/set_parms.util
EXAMPLES
See /sbin/rc for invocation context
SEE ALSO
dhcpdb2conf(1M).
HP-UX Release 11i: December 2000 1 Section 1M99
___
___