Go to main content

Oracle® OpenBoot 4.x Administration Guide

Exit Print View

Updated: June 2020
 
 

Example NVRAMRC Script

The following example shows you how to create a simple colon definition in the NVRAMRC script.

{0} ok nvedit
0: : hello ( -- )
1: ." Hello, world. " cr
2: ;
3: ^C
{0} ok nvstore
{0} ok setenv use-nvramrc? true
{0} ok reset-all
...
{0} ok hello
Hello, world.
{0} ok

Notice the nvedit line number prompts (0:, 1:, 2:, and 3:) in this example. These prompts are system-dependent.

Related Information