MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / rebootButton

Function rebootButton

webUi/scripts.js:264–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 setTimeout(function () { window.open("/logged-out", "_self"); }, 500);
263}
264function rebootButton() {
265 if (confirm("Confirm Restart?!")) {
266 httpRequest("GET", "/reboot");
267 }
268}
269function systemInfo() {
270 httpRequest("GET", "/systeminfo", {
271 onload: (xhr) => {

Callers

nothing calls this directly

Calls 1

httpRequestFunction · 0.85

Tested by

no test coverage detected