summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-27 17:37:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-27 17:37:52 +0000
commitbf541de935f7277ded0ebe16e698d02ce238139a (patch)
tree7bc1072689e1d20e7babca447802783cf3db0663 /usr
parent960e61ae23aebeb7432eb040bf3631eb0e7ce5d4 (diff)
downloadpfsense-bf541de935f7277ded0ebe16e698d02ce238139a.zip
pfsense-bf541de935f7277ded0ebe16e698d02ce238139a.tar.gz
Be kind, rewind. Restart the package after a reinstallation.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 885c598..de5f5b1 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -133,14 +133,15 @@ switch($_GET['mode']) {
install_package($_GET['pkg']);
update_status("Package reinstalled.");
$static_output .= "\n\nPackage reinstalled.";
- update_output_window($static_output);
start_service($_GET['pkg']);
+ update_output_window($static_output);
break;
case "reinstallxml":
delete_package_xml($_GET['pkg']);
install_package($_GET['pkg']);
$static_output .= "\n\nPackage reinstalled.";
- update_output_window($static_output);
+ start_service($_GET['pkg']);
+ update_output_window($static_output);
break;
case "reinstallall":
if($config['installedpackages']['package'] <> "")
@@ -155,7 +156,8 @@ switch($_GET['mode']) {
}
update_status("All packages reinstalled.");
$static_output .= "\n\nAll packages reinstalled.";
- update_output_window($static_output);
+ start_service($_GET['pkg']);
+ update_output_window($static_output);
break;
default:
$status = install_package($_GET['id']);
OpenPOWER on IntegriCloud