Enable watchdog and control pxe boot, The uefi shell cp3002/-rc/-ra uefi bios – Kontron CP3002 uEFI User Manual

Page 58

Advertising
background image

The uEFI Shell

CP3002/-RC/-RA uEFI BIOS

Page 52

ID 1042-8946, Rev. 3.0

P R E L I M I N A R Y

6.3.3.4

Enable Watchdog and Control PXE Boot

The uEFI Shell provides environment variables used to control the execution flow.

The following sample start-up script shows two uEFI Shell environment variables,
wdt_enable

and pxe_first, used to control the boot process and the Watchdog.

To create uEFI Shell environment variables, use the set uEFI Shell command as shown below:

echo -off

echo “Executing sample startup.nsh...”

if %wdt_enable% == “on” then

kwdt -t 15

echo “Watchdog enabled”

endif

if %pxe_first% == “on” then

echo “forced booting from network”

kboot -t network

endif

Shell> set wdt_enable on

Shell> set pxe_first on

Shell> set

pxe_first : on

wdt_enable : on

Shell> reset

Advertising
This manual is related to the following products: