
Yes. Starting with CDRouter 4.1 a new testvar ShutdownDut has been introduced. The ShutdownDut testvar is similar to RestartDut and allows the user to specify scripts or commands to execute once all tests in the current test run have completed. This feature is useful in situations where you would like to perform some additional logging or turn off the device under test (DUT) following a test run. Turning off the DUT will reduce wireless noise and can also be useful in creating multi-device test environments.
For example, to execute a shutdown script located in /home/lab/scripts/shutdown, configure the ShutdownDut as follows:
testvar ShutdownDut "/home/lab/scripts/shutdown"
Note that multiple scripts or commands can be executed with the ShutdownDut testvar by separating each command with a semi-colon.
Related articles that may also be helpful: