Merge pull request #2534 from dibdot/travelmate

luci-app-travelmate: sync with release 1.3.5
This commit is contained in:
Dirk Brenken 2019-02-15 16:33:37 +01:00 committed by GitHub
commit 7f791e9cf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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