Enable watchdog and control pxe boot, Cp6003-sa/ra/rc uefi bios the uefi shell – Kontron CP6003-RC uEFI BIOS User Manual
Page 61

CP6003-SA/RA/RC uEFI BIOS
The uEFI Shell
ID 1045-9149, Rev. 2.0
Page 61
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