summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua
diff options
context:
space:
mode:
authorPaul Spooren <paul@spooren.de>2017-07-28 00:28:12 +0200
committerJo-Philipp Wich <jo@mein.io>2017-08-02 22:28:50 +0200
commitb90153386cf890aa551e2b4457e9092d4c5b4867 (patch)
tree419d4a2b5a8940f648a99ed99653877930979753 /applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua
parentbf407f087cde592631bd0c95948e32cbd0efab08 (diff)
luci-app-attendedsysupgrade: add package
Add a simple luci view in system tab to perform a sysupgrade with no hassle. Asks an external update server for upgrades, downloads and flashes the upgrade. This packge is the frontend for my current GSoC project: https://summerofcode.withgoogle.com/projects/#5684958571003904 More code is found here: https://github.com/aparcar/gsoc17-attended-sysupgrade Signed-off-by: Paul Spooren <paul@spooren.de> [jo@mein.io: squash commits, remove PKGARCH from Makefile] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua')
-rw-r--r--applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua b/applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua
new file mode 100644
index 0000000000..1bd050af66
--- /dev/null
+++ b/applications/luci-app-attendedsysupgrade/luasrc/controller/attendedsysupgrade.lua
@@ -0,0 +1,5 @@
+module("luci.controller.attendedsysupgrade", package.seeall)
+
+function index()
+ entry({"admin", "system", "attended_sysupgrade"}, template("attendedsysupgrade"), _("Attended Sysupgrade"), 1)
+end