mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
Redirect standard in out on firmware update
This commit is contained in:
parent
2b3d05d189
commit
e398089922
@ -52,7 +52,7 @@ if($_POST['action'] == 'pkg_upgrade') {
|
||||
$shell_output = array();
|
||||
$shell = new OPsense\Core\Shell();
|
||||
// execute shell command and collect (only valid) info into named array
|
||||
$shell->exec("/usr/local/opnsense/scripts/pkg_upgrade.sh&",false,false,$shell_output);
|
||||
$shell->exec("/usr/local/opnsense/scripts/pkg_upgrade.sh > /dev/null 2 > /dev/null < /dev/null &",false,false,$shell_output);
|
||||
}
|
||||
|
||||
if($_POST['action'] == 'update_status' ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user