Include Page |
---|
| KBCOMMON:KB-CSSstyle |
---|
| KBCOMMON:KB-CSSstyle |
---|
|
Div |
---|
|
Excerpt |
---|
Set console environment variables. |
|
Syntax
setenv variable value
setenv variable --
|
Description
This command sets the console configuration variable
to value
. For a complete list of possible variable
names and details, see the table below.
To restore variable
to its default value, specify --
in place of value
.
Panel |
---|
bgColor | #ffffff |
---|
titleBGColor | #f0f0f0 |
---|
title | {{setenv}} Variables |
---|
|
Variable | Default Value | Description |
---|
auto-boot? | false | If true , boots automatically after power on or reset. | boot-file | empty string | A string of arguments to be passed to the boot loader (e.g. -a or -v). | boot-device | disk net | Space delimited list of devices to attempt booting from. | ttya-mode | 9600,8,n,1,- | Serial line configuration for ttya | ttyb-mode | 9600,8,n,1,- | Serial line configuration for ttyb |
|
Note |
---|
Changes to environment variables are stored in NVRAM and permanent. However, they only take effect after executing the reset command. |
Example
The following example demonstrates the output of the setenv
command.
Panel |
---|
bgColor | #ffffff |
---|
titleBGColor | #f0f0f0 |
---|
title | Example {{setenv} Command Output |
---|
|
ok setenv auto-boot? true
setenv auto-boot? true
auto-boot? = true
|
|