diff options
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/model')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua index ab39dab6bd..a1a7ed72c3 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua @@ -17,9 +17,10 @@ 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("env -i /etc/init.d/travelmate restart >/dev/null 2>&1") + luci.sys.call("/etc/init.d/travelmate restart >/dev/null 2>&1") end -- Interface Wizard |