infile] [-o
outfile]

This enables you to update a boot menu entry. The following examples only look at CONF format files. First change the boot field for the label HP-UX 11.23 64bit:

#auto_adm -L "HP-UX 11.23 64bit" -c "-i3" \ > -f boot.adm -o boot.adm2 -O CONF

$ cat boot.adm2 timeout = 10 default = 1

message = Please select something to boot

label = HP-UX 11.23 64bit bootcmd = boot

boot = -i3

image = boot/Rel_B.11.23/WINSTALL

label = HP-UX 11.11 64bit bootcmd = boot

boot = (;0)

image = boot/Rel_B.11.11/WINSTALL

Rename the label HP-UX 11.23 64bit” to HP-UX 11.23 64bit (PA-RISC)”:

$ auto_adm -L "HP-UX 11.23 64bit" -l "HP-UX 11.23 64bit (PA-RISC)" \

>-f boot.adm2 -o boot.adm -O CONF $ cat boot.adm

timeout = 10 default = 1

message = Please select something to boot

label = HP-UX 11.23 64bit (PA-RISC) bootcmd = -i3

boot = (;0)

image = boot/Rel_B.11.23/WINSTALL

label = HP-UX 11.11 64bit bootcmd = boot

boot = (;0)

image = boot/Rel_B.11.11/WINSTALL Deleting a menu entry from a file

The boot menu entries are removed from a file using the following form of auto_adm:

/opt/ignite/bin/auto_adm -d -L label [-f [-O output_format] [-?]

To remove a boot menu entry, you simply need to provide the label name from the file:

$ auto_adm -L "HP-UX 11.23 64bit (PA-RISC)" -d -f boot.adm -o boot.adm2 -O CONF

$ cat boot.adm2 timeout = 10 default = 1

message = Please select something to boot label = HP-UX 11.11 64bit

bootcmd = boot boot = (;0)

161