diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-02 20:24:30 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-02 20:24:30 +0000 |
commit | 9a5fcf80f332a08101e2849b0deeced13be64bdb (patch) | |
tree | f627d948d8480e968ce01306671e188cee02b5f4 | |
parent | 43637d9e8fba96750a640e612fac0e1a9c421911 (diff) | |
download | pfsense-9a5fcf80f332a08101e2849b0deeced13be64bdb.zip pfsense-9a5fcf80f332a08101e2849b0deeced13be64bdb.tar.gz |
Stop package upon deinstall
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 2f127c5..453af5d 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -118,6 +118,7 @@ switch($_GET['mode']) { $todel = substr(reverse_strrchr($config['installedpackages']['package'][$id]['depends_on_package'], "."), 0, -1); delete_package($todel); delete_package_xml($_GET['pkg']); + stop_service($_GET['pkg']); update_status("Package deleted."); $static_output .= "\nPackage deleted."; update_output_window($static_output); |