modules/admin-full: redirect init script output in startup model actions
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_system / startup.lua
index a0c72ca..ed1eabe 100644 (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"))