![Kontron KBox C-102 Series Скачать руководство пользователя страница 109](http://html1.mh-extra.com/html/kontron/kbox-c-102-series/kbox-c-102-series_user-manual_1996284109.webp)
KBox C-102 - User Guide, Rev. 1.0
// 109
15.2.3.
Examples of Startup Scripts
15.2.3.1.
Execute Shell Script on other Hard Drive
This example (
startup.nsh)
executes the shell script named
bootme.nsh
located in the root of the first detected
disc drive (
fs0
).
15.2.3.2.
Execute Shell Script on other Hard Drive
This example (
startup.nsh)
executes the shell script named
bootme.nsh
located in the root of the first detected
disc drive (
fs0
).
fs0:
bootme.nsh
15.2.3.3.
Enable Watchdog
The uEFI Shell provides environment variables used to control the execution flow.
The following sample start-up script shows the uEFI Shell environment
wdt_enable
, used to control the Watchdog.
echo -off
echo “Executing sample startup.nsh...”
if %wdt_enable% == “on” then
kwatchdog -t 15
echo “Watchdog enabled”
endif
To create uEFI Shell environment variable, use the set uEFI Shell command as shown below:
Shell> set wdt_enable on
Shell> set
wdt_enable : on
Shell> reset
Содержание KBox C-102 Series
Страница 2: ...KBox C 102 User Guide Rev 1 0 www kontron com 2 This page has been intentionally left blank...
Страница 59: ...KBox C 102 User Guide Rev 1 0 www kontron com 59 Figure 49 Keep out area for mounting around KBox C 102 0...
Страница 143: ...KBox C 102 User Guide Rev 1 0 www kontron com 143...