summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.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_add.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_add.lua')
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua
index e9e1ee40f2..991e75a7e4 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/wifi_add.lua
@@ -175,6 +175,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")
http.redirect(luci.dispatcher.build_url("admin/services/travelmate/stations"))
end