summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-04-04 14:19:23 +0200
committerDirk Brenken <dev@brenken.org>2018-04-04 14:19:23 +0200
commitee46a6c7121c2252a8c57f11d9e7719d2fbba342 (patch)
tree16b6ecaddd7e5a6013040ad4809821ada7ace6cf /applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
parent189fe1e389fe379528272443f25eb9b2ce7cf4d5 (diff)
luci-app-travelmate: sync with travelmate 1.2.0
* remove needless 'automatic' and 'trigger' options plus small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua')
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
index ee4d342ea..f3ad76259 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_edit.lua
@@ -162,6 +162,7 @@ function wssid.write(self, section, value)
end
uci:save("wireless")
uci:commit("wireless")
+ luci.sys.call("env -i /bin/ubus call network reload >/dev/null 2>&1")
m.on_cancel()
end