modules/admin-full: replace another instance of legacy wifi calls with network reloads
This commit is contained in:
parent
a654b40366
commit
2812cb14c5
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function m.parse(map)
|
|||
wdev:set("disabled", nil)
|
||||
|
||||
nw:commit("wireless")
|
||||
luci.sys.call("(env -i /sbin/wifi down; env -i /sbin/wifi up) >/dev/null 2>/dev/null")
|
||||
luci.sys.call("(env -i /bin/ubus call network reload) >/dev/null 2>/dev/null")
|
||||
|
||||
luci.http.redirect(luci.dispatcher.build_url("admin/network/wireless", arg[1]))
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue