diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 17:37:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 17:37:52 +0000 |
commit | bf541de935f7277ded0ebe16e698d02ce238139a (patch) | |
tree | 7bc1072689e1d20e7babca447802783cf3db0663 /usr | |
parent | 960e61ae23aebeb7432eb040bf3631eb0e7ce5d4 (diff) | |
download | pfsense-bf541de935f7277ded0ebe16e698d02ce238139a.zip pfsense-bf541de935f7277ded0ebe16e698d02ce238139a.tar.gz |
Be kind, rewind. Restart the package after a reinstallation.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 8 |
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']); |