From 4bf31a8792be56198ac5cb5b52580fc19d886b2f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 12 Jan 2012 12:15:21 +0000 Subject: modules/admin-full: redirect init script output in startup model actions --- modules/admin-full/luasrc/model/cbi/admin_system/startup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-full/luasrc/model/cbi') 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 a0c72caa2a..ed1eabe1f9 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")) -- cgit v1.2.3