summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wireguard/luasrc/controller/wireguard.lua
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-02-19 16:13:19 +0200
committerGitHub <noreply@github.com>2017-02-19 16:13:19 +0200
commit0f5321d2ebe801fea77031fed221ae7b13636816 (patch)
tree4b039d0575c631aebb182d7b6651f66935d1f7c7 /applications/luci-app-wireguard/luasrc/controller/wireguard.lua
parent9726e26a7a2ea6052827472bfbec3c9914abedf8 (diff)
parent58833aa2df97ba93a9512f3b0c428cf558fa2235 (diff)
Merge pull request #1022 from danrl/luci-app-wireguard
luci-app-wireguard: initial commit
Diffstat (limited to 'applications/luci-app-wireguard/luasrc/controller/wireguard.lua')
-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