#auto_adm -f /opt/ignite/boot/boot_lif timeout = 0

default = 1

message = Choose a boot action

label = target OS is B.11.11 bootcmd = boot

boot = (;0)

image = /boot/Rel_B.11.11/INSTALL

label = target OS is B.11.23 PA bootcmd = boot

boot = (;0)

image = /boot/Rel_B.11.23/WINSTALL

label = target OS is B.11.31 PA bootcmd = boot

boot = (;0)

image = /boot/Rel_B.11.31/WINSTALL

This reads the AUTO file from the LIF and prints it in the auto_conf (CONF) format.

In the CONF format, the timeout line specifies the amount of time (in seconds) to wait before taking the default action. The default line specifies the default action to take, which, in this case, boots a kernel for HP-UX 11.11. The message line specifies the message that is displayed after booting and showing the menu options to select a target operating system to boot.

The auto_adm(4) manpage lists the following definitions for label, bootcmd, boot, and image:

label=string

A string label that is displayed to the user on the console describing what action is performed if this boot image is loaded. For example, "Install 64-bit HP-UX B.11.11". The string need not be enclosed in quotes.

bootcmd=cmd

The SSL command to be executed if this image is selected. Refer to hpux(1M) for more information.

boot=hwpath

The hardware path relative to the boot LIF containing the desired boot image. Typically (0;). See hpux(1M) for more information.

image=path

The path of the image to be booted relative to the hardware path specified in the boot directive. The bootcmd field should match the following form of the secondary loader (see hpux(1M)):

hpux [-F] [-lm] [-vm] [-lq] [-a[CRSD] devicefile] [-fnumber] [-istring] [boot] [devicefile]

If, for example, you wanted to enable debug-level logging from boot logging automatically, you need to change the bootcmd string to the following:

bootcmd = -i3

157