/cmr/device/reboot

reboot

Reboots the selected devices. The command returns right away, and the server logs rebooted when a device has restarted, where is identity@address.


cmr/device/reboot

Package: cmr Type: Command

重启所选设备。命令会立即返回,当设备重新启动后,服务器会记录 <device> rebooted,其中 <device> 为 identity@address。

参数类型描述
labelsobject使用标签选择要重启的设备。支持 + 和 - 符号分别作为 AND 和 AND NOT 运算符;如果未提供符号,则使用 OR 运算符。