luci-app-travelmate: sync with release 1.3.5

- changed procd trigger handling & removed needless apply hook

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken 2019-02-15 09:37:08 +01:00
parent 391ae75192
commit 1d358c2492

View file

@ -1,4 +1,4 @@
-- Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
-- Copyright 2017-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
@ -17,11 +17,6 @@ m = Map("travelmate", translate("Travelmate"),
.. "see online documentation</a>", "https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md"))
m:chain("network")
m:chain("firewall")
m.apply_on_parse = true
function m.on_apply(self)
luci.sys.call("/etc/init.d/travelmate restart >/dev/null 2>&1")
end
-- Interface Wizard