
Alpha SRM Console Firmware
35
set
Sets or modifies the value of an environment variable.
Syntax
set <envar> <value> [-default] [-integer] [-string]
Arguments
<envar>
The environment variable to be assigned a new value.
<value>
The value that is assigned to the environment variable. It can be either
a numeric value or an ASCII string.
Options
Examples
set Command Option
Description
-default
Restores an environment variable to its default value.
-integer
Creates an environment variable as an integer.
-string
Creates an environment variable as a string.
set Command Example
Description
>>>set bootdef_dev ewa0
Modifies the default boot device to ewa0.
>>>set auto_action boot
Attempts to boot the operating system following an
error, halt, or power-up.
>>>set boot_osflags 0,1
Modifies the default boot flags to 0,1.
>>>set foobar 5
Creates an environment variable called foobar and
gives it a value of 5.