From dfcb1698e6b6a1ebde89e28ae7f5373651038c4f Mon Sep 17 00:00:00 2001 From: Eneko Nieto Date: Sat, 6 Aug 2022 19:20:06 +0200 Subject: [PATCH] Add reboot button --- www/cgi-bin/reboot | 7 +++++++ www/reboot.html | 21 +++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 www/cgi-bin/reboot create mode 100644 www/reboot.html diff --git a/www/cgi-bin/reboot b/www/cgi-bin/reboot new file mode 100644 index 0000000..c5cfe23 --- /dev/null +++ b/www/cgi-bin/reboot @@ -0,0 +1,7 @@ +#!/bin/sh + +echo "Content-Type: text/html" +echo "" +echo "

Ciao!

" + +/sbin/reboot diff --git a/www/reboot.html b/www/reboot.html new file mode 100644 index 0000000..0100971 --- /dev/null +++ b/www/reboot.html @@ -0,0 +1,21 @@ + + + + + + + + + + +
+ +
+ +
+ LuCI - Lua + Configuration Interface +
+ + + \ No newline at end of file