summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-wol/luasrc/controller
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-wol/luasrc/controller')
-rw-r--r--applications/luci-wol/luasrc/controller/wol.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/applications/luci-wol/luasrc/controller/wol.lua b/applications/luci-wol/luasrc/controller/wol.lua
new file mode 100644
index 0000000000..429ab2ac3f
--- /dev/null
+++ b/applications/luci-wol/luasrc/controller/wol.lua
@@ -0,0 +1,9 @@
+module("luci.controller.wol", package.seeall)
+
+function index()
+ require("luci.i18n").loadc("wol")
+ local i18n = luci.i18n.translate
+
+ entry({"admin", "network", "wol"}, cbi("wol"), i18n("Wake on LAN"), 90).i18n = "wol"
+ entry({"mini", "network", "wol"}, cbi("wol"), i18n("Wake on LAN"), 90).i18n = "wol"
+end