diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-12 12:15:21 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-12 12:15:21 +0000 |
commit | 4bf31a8792be56198ac5cb5b52580fc19d886b2f (patch) | |
tree | e271422233f13893a1792de15a8333c3928dcb77 /modules | |
parent | 7db300b5e6a7030cbfeb4d2f7560dbff6d933edc (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.lua | 2 |
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")) |