luci2: implement initial backup / restore / flash view. Actual firmware flashing...
[project/luci2/ui.git] / luci2 / htdocs / luci2 / luci2.js
index dfd734b..02b0015 100644 (file)
@@ -1292,6 +1292,18 @@ function LuCI2()
                }),
 
 
+               testReset: _luci2.rpc.declare({
+                       object: 'luci2.system',
+                       method: 'reset_test',
+                       expect: { supported: false }
+               }),
+
+               startReset: _luci2.rpc.declare({
+                       object: 'luci2.system',
+                       method: 'reset_start'
+               }),
+
+
                performReboot: _luci2.rpc.declare({
                        object: 'luci2.system',
                        method: 'reboot'