summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-23 01:50:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-23 01:50:22 +0000
commit2f9a19dffc21170a11b587e81c1b157a38561f14 (patch)
tree74ff4b53b53420859e843538cb0e08db67548df4 /etc/inc
parent0d427314512d71e681e6a7cc8de293c40cf6d42a (diff)
downloadpfsense-2f9a19dffc21170a11b587e81c1b157a38561f14.zip
pfsense-2f9a19dffc21170a11b587e81c1b157a38561f14.tar.gz
Stop service before sync
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pkg-utils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index ae1fd87..b89e3db 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -125,6 +125,7 @@ function resync_all_package_configs($show_message = false) {
foreach($config['installedpackages']['package'] as $package) {
if($show_message == true) print " " . $package['name'];
get_pkg_depends($package['name'], "all");
+ stop_service($package['name']);
sync_package($i, true, true);
if($restart_sync == true) {
$restart_sync = false;
OpenPOWER on IntegriCloud