diff options
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/network.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index 24f17e939..a29844364 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -216,14 +216,14 @@ function wifi_delete(network) local dev = wnet:get_device() local net = wnet:get_network() if dev then - luci.sys.call("env -i /sbin/wifi down %q" % dev:name()) + luci.sys.call("env -i /sbin/wifi down %q >/dev/null" % dev:name()) ntm:del_wifinet(network) ntm:commit("wireless") if net:is_empty() then ntm:del_network(net:name()) ntm:commit("network") end - luci.sys.call("env -i /sbin/wifi up %q" % dev:name()) + luci.sys.call("env -i /sbin/wifi up %q >/dev/null" % dev:name()) end end |