luci-0.10: merge r8171

This commit is contained in:
Jo-Philipp Wich 2012-01-12 12:19:13 +00:00
parent 579975840f
commit 76e602284b

View file

@ -71,7 +71,7 @@ end
start = s:option(Button, "start", translate("Start"))
start.inputstyle = "apply"
start.write = function(self, section)
luci.sys.call("/etc/init.d/%s %s" %{ inits[section].name, self.option })
luci.sys.call("/etc/init.d/%s %s >/dev/null" %{ inits[section].name, self.option })
end
restart = s:option(Button, "restart", translate("Restart"))