HP Integrity rx2600 Operation And Maintenance Manual page 28

Server and workstation
Hide thumbs Also See for Integrity rx2600:
Table of Contents

Advertisement

System Configuration
for/endfor
goto
if/endif
pause
stall
EFI Scripts
The EFI scripting language enables you to create executable shell scripts. You can place a set of
EFI commands in the shell script and run the script as often as needed. You can also modify the
script to make it perform different tasks. Script files can be either unicode or ASCII format.
NOTE: Commands run from a batch script are not saved by the shell for DOSkey history
(up-arrow command recall).
The optional script startup.nsh is automatically run when you enter the EFI shell
environment. All EFI shell scripts have the .nsh suffix.
This section provides a brief explanation of how to create, edit, and run an EFI shell script.
To create or edit a shell script, follow these steps:
1. At the EFI shell prompt, run the shell's editor. Run the following:
fs0:\> edit file.nsh
where file.nsh represents the name of the new shell script you are creating or the existing
script you want to edit.
2. Enter or edit the commands to be run when the script is run. For example:
echo This is a test file.
3. When you are finished writing the script: press
The EFI editor is controlled by function key commands. A menu of available commands is
shown at the bottom of the screen. If you are accessing the editor through a terminal emulator
and the function keys do not work, use the escape sequences listed here.
Command
Open file
Save file
Exit
Cut
Paste
Goto
Search
Replace
File type
28
Run commands for each item in a set of items
Make batch file execution jump to another location
Run commands in specified conditions
Print a message and suspends for keyboard input
Stalls the processor for the specified time in microseconds
Function key
F1
F2
F3
F4
F5
F6
F7
F8
F9
HP Integrity rx2600 server and HP workstation zx6000 Operation and Maintenance Guide
F2
to save the file and press
Escape sequence
Esc 0
Esc S
Esc Q
Esc D
Esc P
Esc G
Esc F
Esc R
Esc T
F3
to exit.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zx6000

Table of Contents