summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wireguard/luasrc/controller
diff options
context:
space:
mode:
authordanrl <mail@danrl.com>2017-02-16 19:40:26 +0100
committerdanrl <mail@danrl.com>2017-02-17 07:32:17 +0100
commit58833aa2df97ba93a9512f3b0c428cf558fa2235 (patch)
tree3d31e9898c8f412992f0ec1b8c5eeda509df6f78 /applications/luci-app-wireguard/luasrc/controller
parentc0303598d5420324fa8991bfca8f34d341ab4d44 (diff)
luci-app-wireguard: initial commit
This application allows for monitoring of WireGuard interfaces via the Status menu. Signed-off-by: Dan Luedtke <mail@danrl.com>
Diffstat (limited to 'applications/luci-app-wireguard/luasrc/controller')
-rw-r--r--applications/luci-app-wireguard/luasrc/controller/wireguard.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/luci-app-wireguard/luasrc/controller/wireguard.lua b/applications/luci-app-wireguard/luasrc/controller/wireguard.lua
new file mode 100644
index 0000000000..68a82fe5cc
--- /dev/null
+++ b/applications/luci-app-wireguard/luasrc/controller/wireguard.lua
@@ -0,0 +1,8 @@
+-- Copyright 2016-2017 Dan Luedtke <mail@danrl.com>
+-- Licensed to the public under the Apache License 2.0.
+
+module("luci.controller.wireguard", package.seeall)
+
+function index()
+ entry({"admin", "status", "wireguard"}, template("wireguard"), _("WireGuard Status"), 92)
+end