luci.sys.call ("echo hello > /tmp/test.txt")
local rstatus = (luci.sys.call ("echo hello > /tmp/test.txt") == 0) if rstatus then ...