Sdvars set terminate, Example, Sdvars set terminate purpose – Allied Telesis AT-WL2411 User Manual
Page 201: Syntax

AT-WL2411 Version 1.80 Installation and User’s Guide
201
Example
Consider the following script file commands:
sdvars set checkpoint 1
fe ab
sdvars set checkpoint 2
TFTP get * access point.prg ab
sdvars set checkpoint 3
reboot
When the software download is started, you can use SNMP to query its
progress by reading the checkpoint variable. If the variable has a value of
2, you know that the access point is trying to execute the TFTP get
statement. If the value is 3, you know the script has completed and the
reboot was executed. The value of the checkpoint variable may also be
helpful in determining where an error occurred if the script fails.
sdvars set
terminate
Purpose
Sets the internal variable terminate to a specified value. Use terminate to
stop a countdown process in the access point. If either starttime or
nextpoweruptime is counting down, setting this variable stops the timer
and halts the countdown process.
Syntax
sdvars set terminate
Note
You should use caution when using this command. If the script file
is being downloaded or executed, setting this variable interrupts
the processing and can leave the access point in an undetermined
state that may require user intervention.