HP Unified Extensible Firmware Interface User Manual

Page 46

Advertising
background image

Syntax

pause

[-q]

Description

This command is available only in scripts. It prints a message to the display, and then suspends
script file execution and waits for keyboard input. Pressing any key resumes execution, except for
q or Q. If q or Q is pressed, script processing terminates. Otherwise execution continues with the
next line after the pause command.

Option

–q

Hides the display message.

Examples

This script is a sample of the pause command:

fs0:\> type pause.nsh
#
# Example script for 'pause' command
#
echo pause.nsh begin..
date
time
pause
echo pause.nsh done.

To execute the script with echo on:

fs0:\> pause.nsh
+pause.nsh> echo pause.nsh begin..
pause.nsh begin..
+pause.nsh> date
06/19/2001
+pause.nsh> time
00:51:45
+pause.nsh> pause
Enter 'q' to quit, any other key to continue:
+pause.nsh> echo pause.nsh done.
pause.nsh done.

To execute the script with echo off:

fs0:\> echo —off
fs0:\> pause.nsh
pause.nsh begin..
pause.nsh begin..
06/19/2001
00:52:50
Enter 'q' to quit, any other key to continue: q
fs0:\>

pci

Displays a PCI device list or PCI function configuration space information.

Syntax

pci

[Bus Dev [Func] [-s Seg] [-i]]

Options

-s

Optional segment number Seg specified

mappedname

Specifies a mapping name.

-i

Information interpreted.

46

UEFI Shell command reference

Advertising
This manual is related to the following products: