diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-16 10:56:27 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-16 10:56:27 -0200 |
commit | 108482b9db55ece7c3d787e7ee4bd691e25bb3d4 (patch) | |
tree | 7401901ac7820c91507dc1560900a59d860de316 /src/usr/local/www/pkg_mgr_install.php | |
parent | a194233c76aaffed70d22689c2827f24a51d5fda (diff) | |
download | pfsense-108482b9db55ece7c3d787e7ee4bd691e25bb3d4.zip pfsense-108482b9db55ece7c3d787e7ee4bd691e25bb3d4.tar.gz |
Remove -R from pfSense-upgrade call, it's used only for testing purposes. While here, add -y to make sure it won't be interactive
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 446be8d..b448824 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -422,7 +422,7 @@ if ($_POST && ($_POST['completed'] != "true") ) { write_config(gettext("Creating restore point before package installation.")); $progbar = true; - $upgrade_script = "/usr/local/sbin/{$g['product_name']}-upgrade -R -l {$g['tmp_path']}/webgui-log.txt -p {$g['tmp_path']}/webgui-log.sock"; + $upgrade_script = "/usr/local/sbin/{$g['product_name']}-upgrade -y -l {$g['tmp_path']}/webgui-log.txt -p {$g['tmp_path']}/webgui-log.sock"; switch ($_POST['mode']) { case 'delete': |