modules/admin-full: redirect init script output in startup model actions
This commit is contained in:
parent
7db300b5e6
commit
4bf31a8792
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue