mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add option to send mail when connection status change
This commit is contained in:
parent
80cb838778
commit
2679958caa
9 changed files with 155 additions and 0 deletions
8
luci-app-mail/luasrc/controller/mail.lua
Normal file
8
luci-app-mail/luasrc/controller/mail.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
local ucic = luci.model.uci.cursor()
|
||||
local dt = require "luci.cbi.datatypes"
|
||||
module("luci.controller.mail", package.seeall)
|
||||
|
||||
function index()
|
||||
entry({"admin", "services", "mail"}, alias("admin", "services", "mail", "index"), _("Mail"))
|
||||
entry({"admin", "services", "mail", "index"}, cbi("mail"))
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue