beautypg.com

20 run, 21 script, 20run 9.14.21script – Artesyn ATCA-9305 User's Manual (May 2014) User Manual

Page 256

background image

Management Processor Monitor

ATCA-9305 User’s Manual (10009109-07)

256

Definition

reset

9.14.20 run

The run command runs the commands in an environment variable var.

Definition

run var [ … ]

Use $ for variable substitution; the syntax “$(variable_name)” should be used for variable
expansion.

Example

=> setenv cons_opts console=tty0 console=ttyS0,\$(baudrate)

=> printenv cons_opts cons_opts=console=tty0

console=ttyS0,$(baudrate)

Use the \ character to escape execution of the $ as seen in the setenv command above. In this
example, the value for baudrate will be inserted when cons_opts is executed.

9.14.21 script

The script command runs a list of monitor commands out of memory. The list is an ASCII string
of commands separated by the ; character and terminated with the ;; characters.