summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-12 12:15:21 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-12 12:15:21 +0000
commit4bf31a8792be56198ac5cb5b52580fc19d886b2f (patch)
treee271422233f13893a1792de15a8333c3928dcb77 /modules
parent7db300b5e6a7030cbfeb4d2f7560dbff6d933edc (diff)
modules/admin-full: redirect init script output in startup model actions
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/startup.lua2
1 files changed, 1 insertions, 1 deletions
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"))