From: Jo-Philipp Wich Date: Thu, 12 Jan 2012 12:19:13 +0000 (+0000) Subject: luci-0.10: merge r8171 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76e602284b08d950aac2be66fe8848ada827365c;p=oweals%2Fluci.git luci-0.10: merge r8171 --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua b/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua index a0c72caa2..ed1eabe1f 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/startup.lua @@ -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"))