diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-18 22:27:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-18 22:27:30 +0000 |
commit | 6df0adb6d1111b11ba25857b0bf9b303666c693e (patch) | |
tree | effe374aef307c5ccf58e93a7b3b96e3556de100 /applications/luci-wol/luasrc/controller | |
parent | 4c4d9b869bfa05b7b75c649374b34355e739f12a (diff) |
applications: add WoL application
Diffstat (limited to 'applications/luci-wol/luasrc/controller')
-rw-r--r-- | applications/luci-wol/luasrc/controller/wol.lua | 9 |
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 |