Developing lightweight computation at the DSG edge

Commit 6c2844a4 authored by p4u's avatar p4u
Browse files

Reload bmx6 after configure HNA

parent 3d65a2cb
......@@ -36,5 +36,12 @@ function hna_option:validate(value)
return value
function m.on_commit(self,map)
local err ='bmx6 -c --configReload > /tmp/bmx6-luci.err.tmp')
if err ~= 0 then
m.message = sys.exec("cat /tmp/bmx6-luci.err.tmp")
return m
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment