1
0
Fork 0
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:
Ycarus 2018-11-05 19:14:23 +01:00
parent 80cb838778
commit 2679958caa
9 changed files with 155 additions and 0 deletions

View 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