Skip to main content

set_firmware_restore

Function set_firmware_restore 

pub unsafe extern "C" fn set_firmware_restore() -> c_int
👎Deprecated:

ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds

Available on non-ag35 only.
Expand description

Set system firmware restore to the backup version.

If this function execute success(return 1), you can reboot the system, and the system will restore to backup version after reboot.reboot will need 50 seconds.

Returns 1 on success, otherwise 0.